Cache _recent_items file deletion
-
Hello,
I’m wondering if it’s safe to delete the files in the “/cache/asset-cleanup/_storage/_recent_items” folder, and how to do so?
We initially had the JS and CSS minification settings enabled on our site, but recently disabled them. We are still using the plugin to selectively remove scripts and stylesheets. We had a plugin that seemed to be conflicting with the minification, and creating thousands of cache files, which was taking up a lot of space on our server. After turning off the minification settings, I set the “Clear previously cached CSS/JS files older than (x) days” setting to 0, and cleared the CSS/JS files cache.
This seemed to work for the “/cache/asset-cleanup/css” and “/cache/asset-cleanup/js” folders, as they are now much cleaner, but the “/cache/asset-cleanup/_storage/_recent_items” folder still contains almost 10,000 files. I attempted to manually delete them on a staging site, but they seemed to be re-generated again. Is there a safe way to remove these permanently?
Thanks!
The topic ‘Cache _recent_items file deletion’ is closed to new replies.