=== Clear Autoptimize Cache Automatically ===
Contributors: villatheme, mrt3vn
Donate link: http://www.villatheme.com/donate
Tags: autoptimize, clear autoptimize cache, clear cache automatically
Requires at least: 5.0
Tested up to: 6.8
Requires PHP: 7.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Stable tag: trunk

Automatically clear Autoptimize cache by cache size or at a specific time of selected days

== Description ==

Clear Autoptimize Cache Automatically is a very lightweight add-on for Autoptimize plugin, which helps you clear Autoptimize cache automatically when cache size reaches the set amount in MB, GB or percent. You can also opt to clear cache after a specific interval such as every hour, every day...

>[Try the Demo](https://new2new.com/?item=clear-autoptimize-cache-automatically "Clear Autoptimize Cache Automatically") | [Document](https://docs.villatheme.com/?item=clear-autoptimize-cache-automatically "Documents") | [Facebook group](https://www.facebook.com/groups/villatheme "VillaTheme")

### Important Notice:

- This plugin requires the Autoptimize plugin By Frank Goossens (futtta) to run

- Website speed is crucial in today’s online world. Slow loading times can negatively impact user experience and search engine rankings, leading to decreased traffic and conversions. That’s why optimizing your website’s performance is essential for its success. One tool that can help you achieve this is the Clear Autoptimize Cache Automatically plugin.

&#9658; **What are Autoptimize and Cache**?

Autoptimize is a popular optimization plugin for WordPress that optimizes website performance by optimizing the HTML, CSS, and JavaScript code. It also minifies and concatenates these files to reduce their size, which leads to faster loading times. However, the plugin stores the optimized files in the cache to avoid processing the same files repeatedly, resulting in faster page loads.

The cache is a temporary storage location that stores frequently accessed data to reduce load times. When a user visits a website, their browser downloads data from the server and stores it in the cache. The next time the user visits the same website, the browser can retrieve the data from the cache, reducing page load times.

&#9658; **Why Clear Autoptimize Cache**?

- While cache can speed up your website, it can also become outdated over time. When you update your website’s content, the cached files become obsolete, and the browser will continue to use the cached data. This can lead to display errors and other issues that negatively impact user experience. That’s why it’s important to clear the cache periodically to ensure that the website is displaying the latest content.

- However, clearing the cache manually can be time-consuming and tedious, especially if you have to do it frequently. This is where the Clear Autoptimize Cache Automatically plugin comes in. It’s a lightweight and easy-to-use plugin that automatically clears the Autoptimize cache when you make changes to your website’s content.

&#9658; **Benefits of Using Clear Autoptimize Cache Automatically**

- Improved Performance: Clearing the Autoptimize cache ensures that your website is displaying the latest content, improving user experience and search engine rankings.

- Time Savings: The plugin saves you time and effort by automatically clearing the cache whenever you make changes to your website’s content.

- Customizable: You can customize the plugin to exclude specific pages or URLs from cache clearing, ensuring that important pages or sections of your website are not affected.

- User-Friendly: The plugin is user-friendly and easy to install and configure, even for non-technical users.

Optimizing your website’s performance is crucial for its success. Clear Autoptimize Cache Automatically is a lightweight and easy-to-use plugin that automatically clears the Autoptimize cache whenever you make changes to your website’s content. This ensures that your website is displaying the latest content, improving user experience and search engine rankings. The plugin is customizable and user-friendly, making it an excellent tool for website owners who want to improve their site’s performance without spending a lot of time or effort. Try Clear Autoptimize Cache Automatically today and take the first step towards improving your website’s performance.

### FEATURES

- Option to automatically clear Autoptimize cache when cache size reaches a specific number that you set. The maximum cache size can be in MB, GB or percent.

- Option to automatically clear Autoptimize cache after a specific interval regardless of current cache size. It supports the interval in minute, hour or day.

- Support execution link - an URL with a secret key - which when accessed the Autoptimize cache will be immediately cleared.

- Lightweight: The plugin is lightweight and won’t slow down your website’s performance.

- Easy to Use: Clear Autoptimize Cache Automatically is easy to install and configure, even for non-technical users.

**Note**: You can use the 3 first methods above at the same time.

### MAY BE YOU NEED

[9MAIL - WordPress Email Templates Designer](hhtps://wordpress.org/plugins/9mail-wp-email-templates-designer/)

[9Map - Map Multi Locations](hhtps://wordpress.org/plugins/9map-map-multi-locations/)

[Abandoned Cart Recovery for WooCommerce](hhtps://wordpress.org/plugins/woo-abandoned-cart-recovery/)

[Advanced Product Information for WooCommerce](hhtps://wordpress.org/plugins/woo-advanced-product-information/)

[AFFI - Affiliate Marketing for WooCommerce](hhtps://wordpress.org/plugins/affi-affiliate-marketing-for-woo/)

[ALD - Dropshipping and Fulfillment for AliExpress and WooCommerce](hhtps://wordpress.org/plugins/woo-alidropship/)

[Boost Sales for WooCommerce - Set up Up-Sells & Cross-Sells Popups & Auto Apply Coupon](hhtps://wordpress.org/plugins/woo-boost-sales/)

[Bopo - WooCommerce Product Bundle Builder](hhtps://wordpress.org/plugins/bopo-woo-product-bundle-builder/)

[Cart All In One For WooCommerce](hhtps://wordpress.org/plugins/woo-cart-all-in-one/)

[Catna - Woo Name Your Price and Offers](hhtps://wordpress.org/plugins/catna-woo-name-your-price-and-offers/)

[Checkout Upsell Funnel for WooCommerce](hhtps://wordpress.org/plugins/checkout-upsell-funnel-for-woo/)

[ChinaDS – Tmall-Taobao Dropshipping for WooCommerce](hhtps://wordpress.org/plugins/chinads-dropshipping-taobao-woocommerce/)

[COMPE - WooCommerce Compare Products](hhtps://wordpress.org/plugins/compe-woo-compare-products/)

[Coreem - Coupon Reminder for WooCommerce](hhtps://wordpress.org/plugins/woo-coupon-reminder/)

[Coupon Box for WooCommerce](hhtps://wordpress.org/plugins/woo-coupon-box/)

[CURCY - Multi Currency for WooCommerce - The best free currency exchange plugin - Run smoothly on WooCommerce 9.x](hhtps://wordpress.org/plugins/woo-multi-currency/)

[Customer Coupons for WooCommerce](hhtps://wordpress.org/plugins/woo-customer-coupons/)

[DEPART - Deposit and Part payment for Woo](hhtps://wordpress.org/plugins/depart-deposit-and-part-payment-for-woo/)

[Email Template Customizer for WooCommerce](hhtps://wordpress.org/plugins/email-template-customizer-for-woo/)

[EPOI - WP Points and Rewards](hhtps://wordpress.org/plugins/epoi-wp-points-and-rewards/)

[EPOW - Custom Product Options for WooCommerce](hhtps://wordpress.org/plugins/epow-custom-product-options-for-woocommerce/)

[EU Cookies Bar for WordPress](hhtps://wordpress.org/plugins/eu-cookies-bar/)

[EXMAGE - WordPress Image Links](hhtps://wordpress.org/plugins/exmage-wp-image-links/)

[FEWC - Extra Checkout Fields For WooCommerce](hhtps://wordpress.org/plugins/fewc-extra-checkout-fields-for-woocommerce/)

[Free Shipping Bar for WooCommerce](hhtps://wordpress.org/plugins/woo-free-shipping-bar/)

[GIFT4U - Gift Cards All in One for Woo](hhtps://wordpress.org/plugins/gift4u-gift-cards-all-in-one-for-woo/)

[HANDMADE - Dropshipping for Etsy and WooCommerce](hhtps://wordpress.org/plugins/handmade-dropshipping-for-etsy-and-woo/)

[HAPPY - Helpdesk Support Ticket System](hhtps://wordpress.org/plugins/happy-helpdesk-support-ticket-system/)

[Jagif - WooCommerce Free Gift](hhtps://wordpress.org/plugins/jagif-woo-free-gift/)

[LookBook for WooCommerce - Shoppable with Product Tags](hhtps://wordpress.org/plugins/woo-lookbook/)

[Lucky Wheel for WooCommerce - Spin a Sale](hhtps://wordpress.org/plugins/woo-lucky-wheel/)

[Notification for WooCommerce | Boost Your Sales - Recent Sales Popup - Live Feed Sales - Upsells](hhtps://wordpress.org/plugins/woo-notification/)

[Orders Tracking for WooCommerce](hhtps://wordpress.org/plugins/woo-orders-tracking/)

[Photo Reviews for WooCommerce](hhtps://wordpress.org/plugins/woo-photo-reviews/)

[Pofily - WooCommerce Product Filters](hhtps://wordpress.org/plugins/pofily-woo-product-filters/)

[Product Builder for WooCommerce - Custom PC Builder](hhtps://wordpress.org/plugins/woo-product-builder/)

[Product Pre-Orders for WooCommerce](hhtps://wordpress.org/plugins/product-pre-orders-for-woo/)

[Product Size Chart For WooCommerce](hhtps://wordpress.org/plugins/product-size-chart-for-woo/)

[Product Variations Swatches for WooCommerce](hhtps://wordpress.org/plugins/product-variations-swatches-for-woocommerce/)

[REDIS - WooCommerce Dynamic Pricing and Discounts](hhtps://wordpress.org/plugins/redis-woo-dynamic-pricing-and-discounts/)

[REES - Real Estate for Woo](hhtps://wordpress.org/plugins/rees-real-estate-for-woo/)

[S2W - Import Shopify to WooCommerce](hhtps://wordpress.org/plugins/import-shopify-to-woocommerce/)

[Sales Countdown Timer](hhtps://wordpress.org/plugins/sales-countdown-timer/)

[SUBRE – Product Subscription for WooCommerce - Recurring Payments](hhtps://wordpress.org/plugins/subre-product-subscription-for-woo/)

[Suggestion Engine for WooCommerce](hhtps://wordpress.org/plugins/woo-suggestion-engine/)

[Thank You Page Customizer for WooCommerce - Increase Your Sales](hhtps://wordpress.org/plugins/woo-thank-you-page-customizer/)

[TMDS - Dropshipping for TEMU and Woo](hhtps://wordpress.org/plugins/tmds-dropshipping-for-temu-and-woo/)

[W2S - Migrate WooCommerce to Shopify](hhtps://wordpress.org/plugins/w2s-migrate-woo-to-shopify/)

[WebPOS – Point of Sale for WooCommerce](hhtps://wordpress.org/plugins/webpos-point-of-sale-for-woocommerce/)

[WordPress Lucky Wheel - Spin a Sale](hhtps://wordpress.org/plugins/wp-lucky-wheel/)

[WPBulky - WordPress Bulk Edit Post Types](hhtps://wordpress.org/plugins/wpbulky-wp-bulk-edit-post-types/)

[Bulky - Bulk Edit Products for WooCommerce](hhtps://wordpress.org/plugins/bulky-bulk-edit-products-for-woo/)

### Plugin Links

- [Project Page](https://villatheme.com/extensions/clear-autoptimize-cache-automatically/)
- [Report Bugs/Issues](https://villatheme.com/knowledge-base/security-is-our-priority/)

== Installation ==

1. Unzip the download package
1. Upload `clear-autoptimize-cache-automatically` to the `/wp-content/plugins/` directory
1. Activate the plugin through the 'Plugins' menu in WordPress

== Frequently Asked Questions ==

== Screenshots ==
1. Setting page

== Changelog ==
**1.0.5 - 2025.11.25**/
- Fixed: PHP Warning "Undefined array key REQUEST_METHOD" when running in CLI/Cron

**1.0.4 - 2025.03.29**/
– Updated: Update support file
- Updated: Compatible with WP 6.7

/**1.0.3 - 2024.06.03**/
– Updated: Update security

/**1.0.2 - 2024.04.18**/
– Updated: Compatible with WP 6.5
– Updated: Update support class

/**1.0.1 - 2023.09.19**/
- Fixed: Setting page url at admin bar

/**1.0.0 - 2022.0.0**/
- Released