P
P
Puma Thailand2012-04-30 08:56:29
open source
Puma Thailand, 2012-04-30 08:56:29

How to tell varnish not to cache requests to the /wp-admin directory?

Subject

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan, 2012-05-01
@iSage

sub vcl_recv {
  ...
  if (req.url ~ "/wp-admin/.*$") {
        return(pass);
  }
  ...
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question