page_enhanced sending no-cache max-age:0 headers
-
Hi there,
I’m using nginx, and browser caching for my disk enhanced page cache. I’ve selected Set cache control header for the browser caching, and when I look at my headers i see: Cache-Control:max-age=0, no-cache.
In my nginx.conf file there is
# BEGIN W3TC Page Cache cache location ~ /wp-content/cache/page_enhanced.*html$ { expires modified 3600s; add_header Vary "Accept-Encoding, Cookie"; add_header Pragma "public"; add_header Cache-Control "max-age=3600, public"; } location ~ /wp-content/cache/page_enhanced.*gzip$ { gzip off; types {} default_type text/html; expires modified 3600s; add_header Vary "Accept-Encoding, Cookie"; add_header Pragma "public"; add_header Cache-Control "max-age=3600, public"; add_header Content-Encoding gzip; } # END W3TC Page Cache cache
Which should be ok. Am I missing something?
Thanks!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘page_enhanced sending no-cache max-age:0 headers’ is closed to new replies.