Page Disk Cache Rebuilding Regularly
-
Hi Support
We’ve enabled page disk caching and set the garbage-collection interval to 0, yet the cache still regenerates at regular intervals. We’re running W3 Total Cache version 2.5.0.
-
Hello @chun0914
Thank you for reaching out and I am happy to help!
The Garbage collection interval removes the expired cache or the _old files. Can you please share where you are seeing that the cache is being updated and what is the Maximum lifetime of cache objects: set in Performance>Page Cache>Advanced section?
Thanks!Hi Support
We’ve set the garbage-collection interval to 0—which should disable automatic cache expiry—while the maximum lifetime for cache objects remains 86400 seconds. Yet, in the attached screenshot you’ll notice that the folders under
pagecache/page/1were recreated on 13 Jun at 09:1x and 09:3x, even though no changes were made to Site 1.Hello @chun0914
Thank you for your feedback,
Can you please re-attach the screenshot and also please let me know what is the Browser Cache expiery set in the Browser Cache settings?
Thanks!I’m not sure why I can’t attach the screenshot in the editor—it just keeps loading. In the meantime, here are our browser cache settings.
"browsercache.configuration_overloaded": false,
"browsercache.enabled": true,
"browsercache.rewrite": false,
"browsercache.no404wp": false,
"browsercache.no404wp.exceptions": [
"robots\\.txt",
"[a-z0-9_\\-]*sitemap[a-z0-9_\\.\\-]*\\.(xml|xsl|html)(\\.gz)?"
],
"browsercache.cssjs.last_modified": true,
"browsercache.cssjs.compression": true,
"browsercache.cssjs.brotli": false,
"browsercache.cssjs.expires": true,
"browsercache.cssjs.lifetime": 31536000,
"browsercache.cssjs.nocookies": true,
"browsercache.cssjs.cache.control": false,
"browsercache.cssjs.cache.policy": "cache_public_maxage",
"browsercache.cssjs.etag": true,
"browsercache.cssjs.w3tc": false,
"browsercache.cssjs.replace": false,
"browsercache.cssjs.querystring": false,
"browsercache.html.compression": true,
"browsercache.html.brotli": false,
"browsercache.html.last_modified": true,
"browsercache.html.expires": false,
"browsercache.html.lifetime": 3600,
"browsercache.html.cache.control": false,
"browsercache.html.cache.policy": "cache_public_maxage",
"browsercache.html.etag": true,
"browsercache.html.w3tc": false,
"browsercache.html.replace": false,
"browsercache.other.last_modified": true,
"browsercache.other.compression": true,
"browsercache.other.brotli": false,
"browsercache.other.expires": true,
"browsercache.other.lifetime": 31536000,
"browsercache.other.nocookies": true,
"browsercache.other.cache.control": false,
"browsercache.other.cache.policy": "cache_public_maxage",
"browsercache.other.etag": true,
"browsercache.other.w3tc": false,
"browsercache.other.replace": false,
"browsercache.other.querystring": false,
"browsercache.replace.exceptions": [],
"browsercache.security.session.cookie_httponly": "",
"browsercache.security.session.cookie_secure": "",
"browsercache.security.session.use_only_cookies": "",
"browsercache.hsts": false,
"browsercache.security.hsts.directive": "maxage",
"browsercache.security.xfo": false,
"browsercache.security.xfo.directive": "same",
"browsercache.security.xfo.allow": "",
"browsercache.security.xss": false,
"browsercache.security.xss.directive": "block",
"browsercache.security.xcto": false,
"browsercache.security.pkp": false,
"browsercache.security.pkp.pin": "",
"browsercache.security.pkp.pin.backup": "",
"browsercache.security.pkp.extra": "maxage",
"browsercache.security.pkp.report.url": "",
"browsercache.security.pkp.report.only": "0",
"browsercache.security.referrer.policy": "false",
"browsercache.security.referrer.policy.directive": "no-referrer-when-downgrade",
"browsercache.security.csp": false,
"browsercache.security.csp.reporturi": "",
"browsercache.security.csp.reportto": "",
"browsercache.security.csp.base": "",
"browsercache.security.csp.frame": "",
"browsercache.security.csp.connect": "",
"browsercache.security.csp.font": "",
"browsercache.security.csp.script": "",
"browsercache.security.csp.style": "",
"browsercache.security.csp.img": "",
"browsercache.security.csp.media": "",
"browsercache.security.csp.object": "",
"browsercache.security.csp.plugin": "",
"browsercache.security.csp.form": "",
"browsercache.security.csp.frame.ancestors": "",
"browsercache.security.csp.sandbox": "",
"browsercache.security.csp.child": "",
"browsercache.security.csp.manifest": "",
"browsercache.security.csp.scriptelem": "",
"browsercache.security.csp.scriptattr": "",
"browsercache.security.csp.styleelem": "",
"browsercache.security.csp.styleattr": "",
"browsercache.security.csp.worker": "",
"browsercache.security.csp.default": "",
"browsercache.security.cspro": false,
"browsercache.security.cspro.reporturi": "",
"browsercache.security.cspro.reportto": "",
"browsercache.security.cspro.base": "",
"browsercache.security.cspro.frame": "",
"browsercache.security.cspro.connect": "",
"browsercache.security.cspro.font": "",
"browsercache.security.cspro.script": "",
"browsercache.security.cspro.style": "",
"browsercache.security.cspro.img": "",
"browsercache.security.cspro.media": "",
"browsercache.security.cspro.object": "",
"browsercache.security.cspro.plugin": "",
"browsercache.security.cspro.form": "",
"browsercache.security.cspro.frame.ancestors": "",
"browsercache.security.cspro.sandbox": "",
"browsercache.security.cspro.child": "",
"browsercache.security.cspro.manifest": "",
"browsercache.security.cspro.scriptelem": "",
"browsercache.security.cspro.scriptattr": "",
"browsercache.security.cspro.styleelem": "",
"browsercache.security.cspro.styleattr": "",
"browsercache.security.cspro.worker": "",
"browsercache.security.cspro.default": "",
"browsercache.security.fp": false,
"browsercache.security.fp.values": [],Hello @chun0914
Thank you for yoru feedback.
The Expirery is set to 3600, or one hour, and this is just a timestamp.
Can you please also share if you setup the Cache Preload? Also, there is a chance that some other plugin is callinga purge.
Any chance you can enable the purge Log and check this?Thanks!
Could you please tell me where I can check the cache preload settings? Also, I’m using the free version, so I can’t enable the purge log.
Hello @chun0914
Thank you for your feedback.
The Preload settings are in the Perofrmance>Page Cache>Cache Preload section of the plugin.
Please check if this was setup
Thanks!
The topic ‘Page Disk Cache Rebuilding Regularly’ is closed to new replies.