=== Page Speed Script Optimizer ===
Contributors: kadecooper, wpcraftbench
Tags: performance, optimization, plugins, load manager, conditional
Requires at least: 5.0
Tested up to: 6.8
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Optimize WordPress performance by conditionally loading plugins based on pages. Lite version includes basic conditional loading features.

== Description ==

Page Speed Script Optimizer helps you optimize your WordPress site performance by selectively loading plugins only where they're actually needed. Instead of loading all plugins on every page, you can create conditions to exclude heavy plugins from specific pages, improving load times and Core Web Vitals.

**Key Features:**
* Create plugin loading conditions
* Multiple plugins per condition (exclude mode)
* Pages-based targeting
* Easy-to-use interface with visual condition management
* Basic performance optimization for simple use cases

**How It Works:**
1. Create a condition (e.g., "Exclude heavy plugins from key pages")
2. Select multiple plugins to exclude from loading
3. Choose up to 3 pages where the condition applies
4. Save your targeted optimization

**Pro Version Available:**
For advanced features like unlimited conditions, include/exclude modes, and categories/tags targeting, check out Page Speed Script Optimizer Pro.

== External services ==

This plugin connects to Freemius services for Pro version upgrade and licensing functionality. This connection is only made when:
- Accessing the upgrade page in the plugin admin
- Processing Pro version purchases and license validation

Data sent includes basic site information for licensing purposes. No personal data is transmitted without user consent.

Service provider: Freemius, Inc.
Terms of service: https://freemius.com/terms/
Privacy policy: https://freemius.com/privacy/

== Installation ==

1. Upload the plugin files to `/wp-content/plugins/page-speed-script-optimizer/` directory, or install through WordPress admin
2. Activate the plugin through the 'Plugins' screen in WordPress
3. Go to Script Optimizer in your WordPress admin to create your first condition
4. Select plugins to conditionally load and choose target pages
5. Save your condition and enjoy improved performance!

== Frequently Asked Questions ==

= How many conditions can I create? =
The Lite version includes basic conditional loading functionality. Pro version offers unlimited conditions and advanced targeting options.

= What's the difference between Lite and Pro? =
* **Lite:** Basic conditional loading with pages targeting
* **Pro:** Advanced features including unlimited conditions, include/exclude modes, categories & tags targeting

= Will this break my site? =
The plugin is designed to be safe. However, always test conditions on a staging site first, especially when excluding plugins that provide critical functionality.

= Can I target categories and tags? =
Categories and tags targeting is available in the Pro version. The Lite version supports pages targeting.

= Can I use include mode in Lite? =
Include mode is available in the Pro version. Lite version focuses on exclude mode functionality.

= How does the targeting work? =
You can exclude plugins from specific pages to improve performance on key pages like homepage and checkout.

= Does this work with caching plugins? =
Yes! The plugin works at the WordPress core level and is compatible with most caching solutions.

= What happens if I deactivate the plugin? =
All plugins will load normally as if the conditions never existed. Your site functionality will be fully restored.

== Screenshots ==

1. Main plugin interface showing condition management
2. Creating a new condition with plugin selection
3. Pages targeting interface
4. Condition overview with status indicators

== Changelog ==

= 1.0.0 =
* Initial release
* Basic conditional loading
* Pages-based targeting
* Exclude functionality
* Performance optimization features

== Upgrade Notice ==

= 1.0.0 =
Initial release of Page Speed Script Optimizer. Start optimizing your site performance today!
