I am using disk cache enhanced to cache pages. If I understand correctly, “browsercache.html.lifetime” should indicate the max-time pages are cached (after which they will expire). It’s currently set to 3600 (1 hour).
However, I’ve noticed pages being served which were cached several weeks ago. How are the pages expired from cache?
After quickly looking at the code, I think that:
– Because of .htaccess rules, W3TC immediately serves the cached page (without triggering the date-check logic in W3_Cache_File_Generic->get)
– Something goes wrong in the Cache Cleaner, or it doesn’t get triggered at all. Any experiences on what the problem could be here?
- The topic ‘Page cache not expiring’ is closed to new replies.