@adamovic I’m glad the plugin works as expected and hopefully, you will be using it in the long term.
The problem seems to be the fact that the files get deleted after a while. If you check the value from “Settings” -> “Plugin Usage Preferences” -> “Clear previously cached CSS/JS files older than (x) days”, make sure you set it to a higher value such as 14. Lots of combined CSS files are generated because many pages that you have on your website are having distinctive styling from Elementor. It’s enough one extra Elementor thing to be added to one page and if it’s an extra CSS loaded, a new combined CSS will be generated and the previously generated one for that page will expire based on the value that I mentioned earlier (e.g. 14 days).
No other plugin or tool should interfere with Asset CleanUp’s files. The deletion of those files shouldn’t happen (e.g. WP Fastest Cache should mind its own files). If a page is reindexed by Google just once a month, there’s a chance it will attempt to load older files that are already deleted. So, find out the re-index frequency and increase the value of the following value even more: “Clear previously cached CSS/JS files older than (x) days“.
Just a reminder that the situation you described should happen only if you constantly update the pages with new Elementor things that have their own CSS and the generation of new CSS files is necessary. It’s enough if you also update a plugin that has a new CSS file and obviously the combined CSS file has to be updated with a new name. I hope it helps!
Ah, awesome, thank you! I honestly did not know this setting existed π
This should help, yes. I changed it from 4 to 14 days, now let’s wait and see.
@adamovic remember that the total time of a cached page should not exceed 14 days. I’m referring to WP Fastest Cache. Let’s suppose you have mostly caching pages you want the page caching to clear after a long period of time to avoid using extra resources. If it clears every 3 weeks (just an example) and you set 14 days as the total duration for “Clear previously cached CSS/JS files older than (x) days”, then if the Asset CleanUp Pro’s CSS/JS caching is cleared BEFORE the WP Fastest Cache one, then you might end up with the same problem as the older files will be deleted and WP Fastest Cache will still reference them and Google will obviously indeed the broken pages.
I think I know what you mean. If WP Fastest Cache is set to keep a page cached longer than Asset CleanUp, WP Fastest Cache will at some point be offering cached CSS files that don’t exist anymore.
WP Fastest Cache allows me to set a timeout rule to clear cache based on my server time. So the best option would be to set both caching intervals of WPFC and Asset CleanUp to be the same. But how can I know if those two intervals overlap? Does Asset CleanUp rely on my server time as well?
@adamovic Asset CleanUp files caching mechanism also uses the server’s time to calculate how much time has passed since it was last cleared. Also, whenever WP Fastest Cache is cleared, a non-cached page is accessed (to recreate the new HTML code), and at that moment, Asset CleanUp’s cache is cleared too. Moreover, the caching is cleared often whenever you update something via Asset CleanUp’s settings and using the CSS/JS manager.
As long as WP Fastest Caching is cleared periodically, there shouldn’t be any functionality problem. There’s won’t be any problems with both plugins clearing their caching at the same time π
Ok, so the bottom line is I must only make sure that the Asset CleanUp’s cache isn’t cleared more frequently then WP Fastest Cache.
I have the Asset CleanUp set to 14 days. In my htaccess the WP Fastest Cache ExpiresByType text/css and text/javascript are set to A10368000, which is 120 days. I can set a timeout on WPFC every 15 days. If I do that and change the Asset CleanUp’s setting to 15 as well, would that do it?