varnish, wordpress and php session.cache_limiter setting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

  I´ve been told that It´s better to set PHP variable cache_limiter to
public to make to work Wordpress php scripts cached by Varnish.

  Any experience with this? How can I make sure is it working?

  I have enabled in .htaccess:

  ExpiresByType text/html "access 1 month"

  and if I test curl against my site I see the Cache-Control, Expires
variables set, so I´m not sure if I need it or not.

curl -I -H 'Accept-Encoding: gzip,deflate' https://www.mysite.com/
HTTP/1.1 200 OK
Date: Thu, 26 Jan 2017 04:50:03 GMT
Server: Apache
X-Pingback: https://www.mysite.com/xmlrpc.php
Link: <https://www.mysite.com/wp-json/>; rel="https://api.w.org/";,
<https://www.mysite.com/>; rel=shortlink
Cache-Control: max-age=2592000
Expires: Sat, 25 Feb 2017 04:50:03 GMT
Content-Type: text/html; charset=UTF-8
Content-Encoding: gzip
Vary: Accept-Encoding
Age: 59348
X-Cache: cached
Accept-Ranges: bytes

Thanks!

Miguel

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx





[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux