=== Digify Speed Engine ===
Contributors: msrougi, digify
Tags: webp, image optimizer, performance, woocommerce speed, defer javascript
Requires at least: 5.8
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Lightweight performance suite: converts images to WebP, eliminates bloat, defers JS, and accelerates WooCommerce checkout.

== Description ==

**Digify Speed Engine** is a lightweight, zero-dependency WordPress performance suite designed to optimize Core Web Vitals, boost Google PageSpeed scores, and accelerate WooCommerce checkout flows.

Unlike heavy alternatives, Digify Speed Engine runs 100% locally on your server without relying on external SaaS APIs, third-party subscriptions, or intrusive background processes.

### Key Features:
* **Automatic WebP Conversion:** Automatically generates lightweight `.webp` images for all new uploads and intermediary thumbnail sizes using native PHP GD/Imagick.
* **Smart Image Downscaling:** Scales down high-resolution camera uploads to a custom maximum width (e.g., 2048px).
* **Native Lazy Loading:** Enforces `loading="lazy"` on all content image tags.
* **WooCommerce Cart Fragments Optimizer:** Dequeues the resource-heavy AJAX cart fragment script on non-shop pages (blogs, home, static pages).
* **WooCommerce Asset Dequeuing:** Prevents WooCommerce stylesheets and scripts from loading on non-commerce pages.
* **Defer Non-Critical JavaScript:** Appends `defer` attributes to non-essential scripts to eliminate render-blocking resources.
* **WordPress Bloat Cleaner:** Removes emojis, discovery links, RSD, WLW manifests, shortlinks, and generator meta tags.
* **Heartbeat API Governor:** Throttles background WordPress Heartbeat API calls from 15s to 60s to reduce server CPU consumption.

== Installation ==

1. Upload the `digify-speed-engine` folder to the `/wp-content/plugins/` directory, or install the `.zip` directly via **Plugins > Add New > Upload Plugin**.
2. Activate the plugin through the **Plugins** menu in WordPress.
3. Navigate to **Settings > ⚡ Digify Speed** to configure your WebP quality and performance tweaks.

== Frequently Asked Questions ==

= Does Digify Speed Engine require external API keys? =
No. All WebP conversions and optimizations are handled locally by your server.

= Does it break WooCommerce cart functionality on shop pages? =
No. Cart fragments and commerce assets are preserved on store, cart, and checkout pages.

= Can I choose the WebP compression level? =
Yes. You can customize the exact compression quality (recommended: 80-85%) in the settings screen.

== Screenshots ==

1. Digify Speed Engine dashboard with real-time WebP optimization status and performance controls.
2. WebP image optimization settings with compression quality, automatic conversion and native lazy loading.
3. JavaScript defer and WordPress bloat cleanup controls for a lighter, faster website.
4. WooCommerce performance optimizations for reducing unnecessary assets and improving store speed.

== Changelog ==

= 1.0.0 =
* Initial release of Digify Speed Engine. Automatic WebP generation, script deferral, bloat cleaner, and WooCommerce performance tweaks.
