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.
- Navigate to WordPress admin dashboard -> Settings -> Autoptimize Cache Settings
- Select from one of the available
Maximum cache file sizeoptions from the select menu and press the
- Please note: You obviously must have Autoptimize plugin installed for this plugin to work
- Release first stable versions
- Add a time based WP_Cron setting that will clear cache every few days, week, month, etc.
- Internationalization improvements
Via 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:
- Unzip the downloaded autoclear-autoptimize-cache.zip file
- Upload the unzipped folder
autoclear-autoptimize-cachedirectory to your
- Activate the plugin through the ‘Plugins’ menu in WordPress
But isn’t clearing my cache going to slow my page loading speeds?
When 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.
What is the best maximum cache size setting option for my site?
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:
- 64 MB for small blogging site on entry level shared hosting.
- 96 MB for small blogging site on entry level shared hosting.
- 128 MB for medium blogging site on entry level shared hosting.
- 512 MB for sites running complex themes and plugins on shared or small VPS.
- 768 MB for sites running complex themes and plugins, e-commerce, memberships on med VPS.
- 1 GB for large sites running complex themes, plugins, e-commerce, memberships on med to large VPS.
Again, experiment with different settings and find the best option for your particular WordPress site.
Do I need to have the Autoptimize plugin installed on my site for this to work?
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.
Something isn’t working right. How can I get help?
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:
- Describe the symptoms of the issue (error, not clearing cache correctly, white screen, etc.)
- When did you first notice the problem?
- Did you change anything prior to noticing the problem (installed or updated another plugin or theme. Made some other change)
- What make and model of computer, tablet or smartphone were you using?
- What operating system (OSX, Windows 10, Android, IoS)?
- Steps to reproduce the problem.
My site pages load so slowly. Can you help?
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!
Colaboradores y desarrolladores
Este software es de código abierto. Las siguientes personas han contribuido a este plugin.Colaboradores
"Autoclear Autoptimize Cache" ha sido traducido a 6 idiomas locales. Gracias a los traductores por sus contribuciones.
Traduce "Autoclear Autoptimize Cache" a tu idioma.
¿Interesado en el desarrollo?
Revisa el código, echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.
Registro de cambios
- Initial release
- Add 64 MB maximum cache option for smaller faster sites
- Add settings link to plugin list page item
- Add additional limit setting of 96MB requested
- Fix bug in settings link on plugin page creating link on every entry. Thank you @thetyke