Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-16, 17:32:39

Author Topic: Configure Varnish for wordpress sites.  (Read 5388 times)

0 Members and 1 Guest are viewing this topic.

Offline crossing

  • Senior Member
  • *
  • Posts: 336
  • Karma: +0/-0
    • View Profile
Configure Varnish for wordpress sites.
« on: 2013-10-03, 01:25:14 »
I enabled Varnish and works fine on html websites, I check it using this site http://www.isvarnishworking.com/ . But if I try wordpress sites I get this response when test if Varnish works:

Code: [Select]


Yes!
Sort of!
Varnish appears to be responding at that url, but the Cache-Control header's "max-age" value is less than 1, which means that Varnish will never serve content from cache at this url.

The max-age value appears to be: 0

This may be intentional, but if you want Varnish to cache this url you'll have to fix the max-age value the application is sending to Varnish.

And here, for you to ponder further, are the actual headers we received:

The url we checked: zumzi.eu
  HTTP/1.1 200 OK
Server: nginx/1.5.6
Content-Type: text/html; charset=UTF-8
Last-Modified: Wed, 02 Oct 2013 13:10:22 GMT
Cache-Control: max-age=3, must-revalidate, public
Expires: Wed, 02 Oct 2013 19:17:04 GMT
Vary: Accept-Encoding,Cookie
Content-Encoding: gzip
Content-Length: 9789
Date: Wed, 02 Oct 2013 19:17:01 GMT
X-Varnish: 1486806624
Age: 0
Via: 1.1 varnish
Connection: keep-alive


Can I use this tutorial safely http://wiki.scalr.com/display/docs/Inst ... +WordPress  ? Or should I let it as it is because the response in normal ?
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Kloxo-MR -> Great Panel ->  Great person behind it ->  Mustafa

Offline crossing

  • Senior Member
  • *
  • Posts: 336
  • Karma: +0/-0
    • View Profile
Re: Configure Varnish for wordpress sites.
« Reply #1 on: 2013-10-03, 01:51:39 »
Well, after 3 tests in a row on http://www.isvarnishworking.com/ it looks like Varnish is confirmed 'Yes' and no extra change need it. So, it does not need any changes for wordpress sites  ?
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Kloxo-MR -> Great Panel ->  Great person behind it ->  Mustafa

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo

Page created in 0.039 seconds with 18 queries.

web stats analysis