该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Autoclear Autoptimize Cache

描述

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.

Plugin Settings

  1. Navigate to WordPress admin dashboard -> Settings -> Autoptimize Cache Settings
  2. Select from one of the available Maximum cache file size options from the select menu and press the Save Changes button
  3. Please note: You obviously must have Autoptimize plugin installed for this plugin to work

Roadmap

  • 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:

  1. Unzip the downloaded autoclear-autoptimize-cache.zip file
  2. Upload the unzipped folder autoclear-autoptimize-cache directory to your /wp-content/plugins/ directory
  3. 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:

  1. 64 MB for small blogging site on entry level shared hosting.
  2. 96 MB for small blogging site on entry level shared hosting.
  3. 128 MB for medium blogging site on entry level shared hosting.
  4. 512 MB for sites running complex themes and plugins on shared or small VPS.
  5. 768 MB for sites running complex themes and plugins, e-commerce, memberships on med VPS.
  6. 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:

  1. Describe the symptoms of the issue (error, not clearing cache correctly, white screen, etc.)
  2. When did you first notice the problem?
  3. Did you change anything prior to noticing the problem (installed or updated another plugin or theme. Made some other change)
  4. What make and model of computer, tablet or smartphone were you using?
  5. What operating system (OSX, Windows 10, Android, IoS)?
  6. 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!

评价

2022 年 3 月 28 日
I saw a YouTube video that recommended the Cache Enabler plugin to automatically purge the Autoptimize cache. So I installed it, but it did absolutely nothing. Then I tried this plugin and it works great! Five stars!
2020 年 5 月 12 日 1 回复
Exactly what I need Thanks so much!
2020 年 4 月 25 日 1 回复
I LOVE this simple plugin for making sure my Autoptimize caches are under control. I make sure it’s installed on all my client sites. Safe. Stable. Works every time.
阅读所有9条评价

贡献者及开发者

「Autoclear Autoptimize Cache」是开源软件。 以下人员对此插件做出了贡献。

贡献者

「Autoclear Autoptimize Cache」插件已被翻译至 6 种本地化语言。 感谢所有译者为本插件所做的贡献。

帮助将「Autoclear Autoptimize Cache」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0.0

  • Initial release

2.0.0

  • Add 64 MB maximum cache option for smaller faster sites

2.1.0

  • Add settings link to plugin list page item
  • Add additional limit setting of 96MB requested

2.1.1

  • Fix bug in settings link on plugin page creating link on every entry. Thank you @thetyke