Tagged: Cache Control Headers
- AuthorPosts
- February 23, 2024 at 10:49 am #125676Zach MuirGuest
I’m interested in configuring w3tc to expire cache as infrequently as possible, is this the method to accomplish this?
https://locall.host/w3-total-cache-expires-headers/
Also, will this apply to all configured caches or only browser caching? Using redis for page, db and object caching.
February 23, 2024 at 10:51 am #125687Marko VasiljevicKeymasterHello,
Thank you for reaching out and I am happy to help!
In W3 Total Cache there are advanced settings for each caching module, Page Cache, Object Cache, DB Cache, etc. If you are using Redis, in the Redis settings you can find the Default lifetime of cache objects. With this option, you can manage the cache expiration, however, please note that depending on the website this can impact the memory..
As for the cache express header, the default for the static files is one year and for the HTML is one hour if set. You can also increase this in the Browser Cache settings.
Thanks!
- AuthorPosts
- The topic ‘Expiring cache issue’ is closed to new replies.