Cached files deleted quickly even with garbage collection turned off
-
Hi,
My WordPress site is largely static, so I switch off garbage collection in WP Super Cache. The only time it rebuilds a cached file is after a comment has been left (rare). It was working very well in that way until the last couple of versions. Some of my cached files were very old (weeks old), but as they hadn’t changed, that was fine, and the site was very fast.
Now, however, and with just the same settings, I notice that WPSC is deleting all cached files after only a few hours. In response, I wrote a script to download every page on the site from another server every day, in order to force a cache pre-build. (I don’t use the WPSC native preloading feature). It works but WPSC is still deleting the cache fast. This script runs every 6 hours now, but even then, every time it runs, about a third of the pages are not in the cache and have to be rebuilt. Static pages that have not changes in years, in some cases.
Any ideas ? I see loads of “delete” and “forced delete” messages in the debug log.
Cheer,
Jim. Site is at unixetc.co.uk
- The topic ‘Cached files deleted quickly even with garbage collection turned off’ is closed to new replies.