Cached CSS file gets deleted at Midnight
-
Hi
My setup is Hostgator shared hosting Cpanel, WordPress + Autoptimize + WP Fastest Cache.
The webpages loads fine and fast all day.
At sometime around midnight (my local time), the main css file for the page gets deleted
***
/wp-content/cache/autoptimize/css/autoptimize_f6625c09b52f29dc0c756070acacf30f.css***
Next day morning i check the “/wp-content/cache/autoptimize/css/” folder from cpanel file manager, and the file is indeed missing.
Note: There are lots of other css files present in the folder, only the main and most important css file necessary for rendering the page is missing.
Meanwhile the pages using the css file are completely broken in browser.
Next day morning i have to clear the “WP Fastest Cache” cache files and then reload the page in browser, then the css file is regenerated by autoptimize and pages work fine again.
This has been happening for 3 days continuously.
—–
So why is this happening ?
1. Is Autoptimize clearing some of its cache files once in a while ? If yes, then there needs to be a mechanism to clear the wp fastest cache cached files as well.
2. If no, Could there be some other plugin that is deleting the autoptimize cache files ?
Note:
1. I am not using any CDN.
2. I am using Siteorigins page builder to build my pages. It creates lots of small css files on every page, and autoptimize combines them into 1 file.
But i doubt that would be the cause of the problem.
- The topic ‘Cached CSS file gets deleted at Midnight’ is closed to new replies.