• Resolved zapappa

    (@lesarnott)


    I am new to W3TC. The install and setup went fine and the cache was created – very impressive results on measuring response times. I’m now looking at cache management and what I’d like to accomplish is to schedule a regular rebuild of the page cache (once a day or once a week etc). I’m finding the parameters a bit scattered and difficult to know if the suggested timers with “Automatically prime the page cache” will accomplish what I want to do.

    Firstly, I would assume that clicking on “empty cache” should delete all the cache folders and files, but no page cache folders or files get deleted.

    I see 2 cron jobs (using the Cron Manager plugin) w3_pgcache_prime and w3_pgcache_cleanup. I have tried manually deleting the cache and using the Cron Manager to execute now the prime and cleanup cron jobs but I don’t see anything happening. Then I tried again an hour later and executing the prime cron job began creating cache files – I’ll let it run overnight and check.

    I would appreciate some guidelines here. I already tried SuperCache and FastestCache where you could achieve this but I prefer W3TC, if only I can sort out these issues.

    Les

    • This topic was modified 5 years ago by zapappa.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello,

    Thank you for your inquiry and I am happy to assist you with this.

    Yes, you can use Cache preload to rebuild your cache regularly. You can use default settings or set your own update interval and the number of pages per interval. _old files are created in the /cache/ folder when the cache is purged. It’s fine to have _old files. Those are being deleted with the “Garbage collection interval:” in Performance>Page Cache>Advanced and you can set the interval yourself. For busy sites, a lower value is best.
    Also, The TTL of page cache files is set via the “Expires header lifetime” field in the “HTML” section on the Browser Cache Settings tab.
    Thank you!

    Thread Starter zapappa

    (@lesarnott)

    Thanks Marko

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Delete Cache’ is closed to new replies.