=== DM Super Cache ===
Contributors: dmahasan
Tags: cache, performance, page speed, minify, lazy load
Requires at least: 5.8
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.0.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

A lightweight WordPress caching and speed optimization plugin — full-page cache, CSS minification, deferred JavaScript, font optimization, and image lazy-loading, built for Core Web Vitals.

== Description ==

**DM Super Cache** is a fast, no-bloat WordPress performance plugin built to improve page speed and Core Web Vitals scores without the complexity of a full-featured caching suite. It does five things, and does them well:

* **Full-Page Caching** — serves static HTML snapshots to logged-out visitors so PHP and the database are skipped entirely on repeat requests.
* **CSS Minification** — automatically minifies first-party stylesheets and serves the minified version from a local cache.
* **JavaScript Deferral** — defers non-critical scripts so the browser can paint the page before running them, with an exclude list for scripts that must load immediately.
* **Font Optimization** — loads Google Fonts asynchronously so web fonts never block the initial render.
* **Lazy Loading** — adds native lazy-loading to images and iframes below the fold, while protecting your Largest Contentful Paint (LCP) image from being delayed.

Built for site owners and developers who want a fast, transparent, single-purpose caching plugin — not a 40-tab settings panel.

= Why DM Super Cache =

Most all-in-one caching plugins bundle features you'll never use and settings that are hard to reason about. DM Super Cache focuses only on the optimizations that move Google PageSpeed Insights and Core Web Vitals scores, with sane defaults that work out of the box.

= Features at a glance =

* One-click cache clearing from the admin bar
* Automatic cache purge on publish/update, new comments, theme switch, and plugin activation/deactivation
* Per-script exclude list for JavaScript deferral
* Cache status dashboard (pages cached, disk usage)
* Zero external dependencies, zero tracking, zero telemetry

== Installation ==

1. Upload the `dm-super-cache` folder to `/wp-content/plugins/`, or install the zip directly via Plugins → Add New → Upload Plugin.
2. Activate the plugin through the 'Plugins' menu in WordPress.
3. Go to Settings → DM Super Cache to review the default settings (all optimizations are enabled by default).

== Frequently Asked Questions ==

= Will this conflict with another caching plugin? =

Deactivate any other page-caching plugin before activating DM Super Cache — running two full-page cache plugins at once can cause stale content or conflicts.

= Does it cache pages for logged-in users? =

No. Full-page caching only applies to logged-out visitors, so logged-in editors and admins always see a live, uncached version of the page.

= Will minifying my CSS break my design? =

DM Super Cache only minifies first-party stylesheets (files served from your own domain) using safe whitespace/comment stripping — it does not restructure selectors, so visual regressions are extremely unlikely. You can turn CSS minification off at any time from the settings page.

= How do I exclude a script from being deferred? =

Add its registered script handle (the name used in `wp_enqueue_script()`) to the "Exclude handles" field on the settings page, comma-separated.

== Changelog ==

= 1.0.1 =
* Updated "Tested up to" to WordPress 7.0.
* Minor readme and plugin metadata cleanup.

= 1.0.0 =
* Initial public release: full-page cache, CSS minification, JS defer, font optimization, lazy-loading, and admin settings page.

== Upgrade Notice ==

= 1.0.1 =
* Updated "Tested up to" to WordPress 7.0.
* Minor readme and plugin metadata cleanup.

= 1.0.0 =
First public release.
