Tagged: Page Cache
- AuthorPosts
- September 19, 2022 at 9:42 am #58028BertoGuest
So when I go to clear the cache, it says it was successful.
When I check the cache directory, I am seeing files in the directories.
In the page_enhanced directory, there are still directories and with files that are simply renamed adding _old to the end.
Aren’t these files supposed to be deleted?
Please confirm or what setting do I need to activate so the cache is deleted, and not just renamed.
Thanks!
September 19, 2022 at 9:47 am #58429Marko VasiljevicKeymasterHello Berto,
Thank you for reaching out and I am happy to assist you with this.
You explained the process, and yes, this is correct. Once the Page Cache is purged, the cached files get the _old extension, which means that those are expired files. This is actually done to prevent loading the cached page, and force updating the page cache. The Garbage collection interval: in Performance>Page Cache>Advanced is used to remove all the _old files from the cache directory in the specific time set, which is triggered by wp_cron.
By default, the Garbage collection interval is set to one hour (3600s) and after the cache is purged, the _old files will be removed in that interval.I hope this clarifies things and answers your question.
Thanks!
- AuthorPosts
- The topic ‘Cache Files Not Removed (Only Renamed Adding _old)’ is closed to new replies.