=== Cache Inspector DL ===
Contributors: devlemon
Tags: cache, object cache, transients, cache inspector, performance
Requires at least: 6.5
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Inspect WordPress object cache, transients, cache drop-ins, and configuration with safe diagnostic tools.

== Description ==

**Cache Inspector DL** is a read-first diagnostic tool that helps administrators and developers understand how WordPress cache is configured and behaving — without modifying anything.

**What it answers:**

- Is WordPress using object cache?
- Is there a persistent object cache (Redis, Memcached, APCu)?
- How many transients are in the database?
- Are there expired transients accumulating?
- Is WP_CACHE defined and enabled?
- Are cache drop-in files (object-cache.php, advanced-cache.php) present?
- What cache-related plugins are active?

**Features:**

- Dashboard with real-time cache stats and health indicators
- Object cache availability and persistence detection (using `wp_using_ext_object_cache()`)
- Object cache read/write test (wp_cache_set/get/delete)
- Cross-request persistence test
- Transient inspector: list, filter, search, sort by name or expiration
- Delete individual transients, expired transients in bulk, or selected transients
- Cache drop-in file information (read-only)
- Environment information (safe — no secrets or credentials)
- Detected cache plugins
- Diagnostic report (copy to clipboard, no sensitive data)
- Optional flush of the WordPress object cache
- Dashboard widget with cache summary

**Privacy:** no data is sent to external servers. All inspection happens locally within your WordPress installation.

**Inspection only:** Cache Inspector DL never installs drop-ins, never modifies wp-config.php or .htaccess, and never alters other plugins' settings. All destructive actions require explicit confirmation.

== Installation ==

1. Upload `cache-inspector-dl` to `/wp-content/plugins/`.
2. Activate the plugin.
3. Go to **Cache Inspector DL** in the admin menu.

== Frequently Asked Questions ==

= Does this plugin install Redis or Memcached? =
No. It inspects what is already present and running.

= Does it modify wp-config.php? =
No. It is read-only by default.

= Does it delete my transients automatically? =
No. All deletions require an explicit action from an administrator.

= What does "Persistent Object Cache Not Detected" mean? =
It means WordPress reports (`wp_using_ext_object_cache()`) that no external object cache is active. This is normal and not a problem for most sites.

= Does it send any data externally? =
No. All analysis is local.

= Is it safe to use on a production site? =
Yes. The plugin does not modify any configuration or cached data unless you explicitly use the Tools page.

== Screenshots ==

1. Cache Inspector DL dashboard with health indicators.
2. Object Cache inspection and test tools.
3. Transient inspector with filters and search.
4. Environment information.
5. Tools page with diagnostic report.

== Changelog ==

= 1.0.0 =
* Initial release.

== Upgrade Notice ==

= 1.0.0 =
Initial release.
