Automatically clear Autoptimize cache if it grows larger then the allowed option.
Autoptimize is a popular performance plugin for WordPress. Among other features, Autoptimize creates and builds cached versions of optimized asset files descreasing page loading times.
But left unchecked, those cached files can become very large. That can slow page loading, increase web server load, and use unuecessary amounts of disk space.
This companion plugin provides a way to set the maximum allowable cache file size for your site and, if that size is exceeded, automatically clears your Autoptimize cache and allows it to rebuild itself. That’s good.
Maximum cache file size
options from the select menu and press the Save Changes
buttonVia your WordPress admin dashboard, navigate to Plugins -> Add new and search for ‘Autoclear Autoptimize Cache’. Then install the plugin and activate it in the usual way.
You cam also manually install the plugin by downloading a copy of the plugin from the WordPress plugins repository. Then:
autoclear-autoptimize-cache
directory to your /wp-content/plugins/
directoryWhen you clear cache there will be a brief period where page loading time increases while it builds fresh cache. But the benefit is well worth it. Allowing Autoptimize cache to grow too large uses up unecessary disk space and actually degrades performance, especially on shared and small VPS hosting.
That depends on a few factors, such as site traffic, using a theme with lots of options, and hosting resources available. You can experiment to find the best balance between performance and cache size. Generally, the following are good assumptions:
Again, experiment with different settings and find the best option for your particular WordPress site.
Yes. This companion plugin wouldn’t be of any use without it and you’ll see an admin warning notice if you try and use this plugin without first installing Autoptimize.
We welcome your feedback and we’re here to assist you. You can create a post in the Support Forum tab for this plugin, or you can open an issue at our Github repository at https://github.com/hyperpress/aocc/issues. Please help us better serve you by providing a concise but detailed description of the issue you need help with:
There are many factors that determine performance of web pages. More than ever, slow loading pages cost site owners search ranking, traffic, and revenue. We are experts on WordPress PageSpeed performance. So, if you need help, visit http://themesurgeons.com/contact. We make WordPress fast!