Help with cache-control
-
I’m using Hummingbird Page Caching and my http headers currently output:
cache-control: max-age=3600, must-revalidate
Does that mean that, every hour, WordPress & Hummingbird generate a fresh cached copy of a given page? If so, is there a way to increase that length of max-age? I see that option for RSS, but not for HTML Page Caching.
Or is it actually that, every hour, a browser checks for a new fresh cached copy of the page, sees that there isn’t one, and instead just uses the copy that already exists?
I tried to override that max-age by adding the below to my htaccess, but that only added a second cache-control header, and I think browsers simply defaulted to the lower hour-long cache value.
<FilesMatch “\.(html|htm|php)$”>
Header set Cache-Control “max-age=31536000”
</FilesMatch>Thanks in advance for any help!
- The topic ‘Help with cache-control’ is closed to new replies.