=== Lightify - Performance Optimization & Cleanup ===

Contributors: daftplug
Tags: performance, cleanup, resource hints, lazy load, optimize
Requires at least: 5.0
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html

Lightweight cleanup and front-end performance helpers: remove bloat, add resource hints, and lazy-load iframes.

== Description ==

Lightify is a lightweight performance helper for WordPress. It focuses on a small set of safe, well-understood front-end optimizations you can toggle from a single settings page — no caching layer, no file rewriting, and no external services.

= What it does =

- **Bloat Removal** – Optionally disable emojis, dashicons (front end), block editor CSS, jQuery Migrate, oEmbed discovery, XML-RPC, and RSS feeds.
- **Network Improvements** – Add `preconnect` and `dns-prefetch` resource hints for the origins you specify, printed by WordPress in the document head.
- **Media** – Add native `loading="lazy"` to iframes in your post content.

Every optimization is off or on by a simple checkbox and applies only where noted. If something looks off, just turn the relevant option back off.

== Frequently Asked Questions ==

= Does Lightify cache my pages? =

No. Lightify intentionally does not include a caching layer. It performs only the lightweight cleanup and resource-hint optimizations described above. It is safe to run alongside a dedicated caching plugin.

= Will it break my site? =

Each optimization is individually toggleable and uses standard WordPress hooks. If a setting causes an issue with your theme or another plugin, simply disable it.

= Does it send any data anywhere? =

No. Lightify does not connect to any external service and does not collect or transmit any data. Everything runs locally on your site.

= Where do the resource hints appear? =

Lightify adds your preconnect and dns-prefetch origins through the core `wp_resource_hints` filter, so WordPress prints them in the `<head>` of your pages.

== Screenshots ==

1. The Lightify settings page with Bloat Removal, Media, and Network Improvements options.

== Changelog ==

= 1.0.0 =
* Initial release.

== External services ==

This plugin does not connect to, or transmit any data to, any external service. All functionality runs locally on your WordPress installation.

== Source Code ==

Lightify contains no minified, compiled, or obfuscated code. All PHP, CSS, and other source files shipped in the plugin are the original human-readable source and require no build step. The plugin's stylesheet (`assets/css/admin.css`) is enqueued directly in its readable form.
