=== Autoload Options Cleaner ===
Contributors: snehalpancholi
Tags: performance, database, autoload, options, optimization
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.1
Stable tag: 1.0.0
License: GPL-2.0+
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Displays the largest autoloaded options in your database and lets you set selected options to not autoload, reducing memory overhead.

== Description ==

WordPress loads all options with `autoload = yes` into memory on every page request via a single query. As plugins accumulate over time, the autoloaded data can grow to several megabytes, directly increasing your site's memory usage on every request.

**Autoload Options Cleaner** provides:

* A ranked list of your 50 largest autoloaded options with their sizes
* Checkbox selection to set chosen options to `not autoload` with one click
* Total autoloaded data size indicator so you can measure improvement
* A restore panel to re-enable autoloading for any option you changed
* No guessing — you see exactly which plugin or theme is contributing bloat

**When to use:**
After deactivating plugins that left large orphaned option rows, or when your site health report shows high autoloaded options size.

== Installation ==

1. Upload the `autoload-options-cleaner` folder to `/wp-content/plugins/`
2. Activate through **Plugins → Installed Plugins**
3. Go to **Tools → Autoload Cleaner**

== Frequently Asked Questions ==

= Is it safe to set any option to not autoload? =
Use caution. Only change options for deactivated plugins or options you recognise as non-critical. Core WordPress options (e.g., `siteurl`, `active_plugins`) should never be set to not autoload.

= Will this speed up my site immediately? =
Changes take effect after the options cache is flushed. You'll see the benefit on the next uncached page load.

= Can I undo changes? =
Yes. The "Options Currently Not Autoloading" section shows every option you've changed, with a restore checkbox to re-enable autoloading.

== Changelog ==

= 1.0.0 =
* Initial release

== Upgrade Notice ==

= 1.0.0 =
Initial release.

== Screenshots ==

1. Admin page showing total autoload size and the ranked options table.
2. Restore panel for reverting selected options back to autoloading.
