Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #58028
    Berto
    Guest

    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!

    #58429
    Marko Vasiljevic
    Keymaster

    Hello 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!

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Cache Files Not Removed (Only Renamed Adding _old)’ is closed to new replies.