keycdn / cache-enabler

A lightweight caching plugin for WordPress that makes your website faster by generating static HTML files.
https://wordpress.org/plugins/cache-enabler/
123 stars 46 forks source link

Cache folder being deleted shortly after being created #121

Closed BWBama85 closed 4 years ago

BWBama85 commented 4 years ago

I have no idea how this is happening but shortly after the cache folder is created it is deleted. I can load a few pages on an active site and then sit there and watch the folder in an SSH window disappear less than 2 minutes later. The plugin is creating the cache files for the site but then they are deleted as if someone cleared the entire cache. This just started happening in the last few days (at least this is when I started noticing it)

I wish I had more information right now but I have been trying to figure out to catch what is happening but have not been able to figure it out yet. Any ideas on what I can do to help figure this out? Any code change in the last two updates dealing with clearing caches?

BWBama85 commented 4 years ago

My settings are pretty simple. Nothing should be clearing the cache but me. Screenshot from 2020-09-07 05-55-54

BWBama85 commented 4 years ago

This seems to be related to memory exhaustion area where I have a large page size wise. I have optimized the query that resulted in the large page size and now it seems to be fixed.