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-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to