=== MP Performance Optimizer ===
Contributors: mukeshparihar
Tags: performance, speed, optimization, css, javascript
Requires at least: 5.8
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.2
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

A lightweight performance optimization plugin. Defer/footer JavaScript, async/combine/minify CSS, and remove unused WordPress assets.

== Description ==

MP Performance Optimizer is a lightweight, dependency-free performance plugin for WordPress. It only affects visitors who are not logged in, so your admin experience is never impacted.

**Features**

* Defer JavaScript execution
* Move scripts to the footer
* Load CSS asynchronously
* Combine multiple CSS files into one cached file
* Minify combined CSS
* Remove emoji detection scripts
* Remove block library / global styles CSS (classic themes)
* Remove Dashicons for logged-out visitors
* Simple exclusion lists so nothing breaks
* Built-in cache management screen

= Safety first =

* Optimizations never run in wp-admin, AJAX, REST, WP-CLI, or cron requests.
* Optimizations never run for logged-in users.
* An emergency "Disable All" switch is available at all times.
* Append `?mpprfo_no_opt` to any front-end URL to temporarily bypass all optimizations for testing.

== Installation ==

1. Upload the `mukesh-parihar-performance-optimizer` folder to `/wp-content/plugins/`.
2. Activate the plugin through the "Plugins" screen in WordPress.
3. Go to **Settings → Mukesh Parihar Optimizer** to configure optimizations.

== Frequently Asked Questions ==

= Will this break my site? =

Optimizations only run for logged-out visitors, and every optimization has an exclusion list. Test on staging first and use the exclusion fields if something looks off.

= How do I find a CSS or JS handle to exclude? =

View your site's page source (logged out) and look for the `id="HANDLE-css"` or `id="HANDLE-js"` attribute on `<link>` / `<script>` tags. Use the part before `-css` / `-js`.

= How do I temporarily disable everything? =

Enable "Disable All Optimizations" on the General tab, or append `?mpprfo_no_opt` to any front-end URL.

== Changelog ==

= 1.0.2 =
Updated plugin and fix issues

= 1.0.1 =
* Renamed and updated internal identifiers for WordPress.org submission.
* Use WordPress style APIs for critical CSS output.

= 1.0.0 =
* Initial release.

== Upgrade Notice ==

= 1.0.2 =
Updated plugin and fix issues

= 1.0.1 =
Updated plugin identity and WordPress compatibility.

= 1.0.0 =
Initial release.
