=== Speed Ninety – Simple PageSpeed Optimizer ===
Contributors: md5to
Tags: pagespeed, performance, optimize, defer javascript, speed
Requires at least: 6.3
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

One-click speed tweaks to help you reach a 90+ PageSpeed score, plus a built-in PageSpeed test with an animated score gauge.

== Description ==

**Speed Ninety** removes the bloat that slows WordPress down and shows your PageSpeed score right inside your dashboard. No complicated settings – click **Apply recommended settings**, run a test and watch the gauge.

= Built-in PageSpeed test =

Test any public page of your site on mobile or desktop without leaving WordPress. You get:

* An animated **score gauge** (green at 90+)
* Core Web Vitals: First Contentful Paint, Largest Contentful Paint, Total Blocking Time, Cumulative Layout Shift and Speed Index – each with a color bar
* The **top things to fix**, sorted by potential savings

= One-click optimizations =

* **Defer JavaScript** – uses the official WordPress loading-strategy API, so WordPress itself keeps any script that must run in order blocking. jQuery is never deferred.
* **Remove emoji scripts** and styles.
* **Disable the embed script** (wp-embed).
* **Remove jQuery Migrate** on the front end.
* **Google Fonts font-display: swap** – text appears right away.
* **Limit the Heartbeat API** – off on the front end, 60 seconds in the admin.
* **Disable XML-RPC** and the X-Pingback header.
* **Clean up the head** – generator, RSD and shortlink tags.
* **Disable self pingbacks.**
* **Limit post revisions.**
* **Preconnect** to third-party origins and **preload** your hero image or main font (great for LCP).
* Optional: remove Dashicons for visitors and version query strings.

Every option is explained in plain words and can be turned on or off individually. Nothing is changed until you choose.

= Plays well with others =

Speed Ninety does not cache pages, so it works side by side with your hosting cache or any caching plugin.

= Pro version =

Everything above is free. The optional Pro add-on adds weekly PageSpeed monitoring with email alerts and history charts, delayed third-party scripts, WebP images and light YouTube embeds. Learn more at https://md5to.com/plugins/speed-ninety/

== Installation ==

1. Upload the `speed-ninety` folder to `/wp-content/plugins/`, or install it from **Plugins → Add New**.
2. Activate the plugin.
3. Go to **Settings → Speed Ninety** and click **Apply recommended settings**.
4. Clear your cache (if you use one) and click **Test speed**.

== Frequently Asked Questions ==

= Will deferring JavaScript break my site? =

Speed Ninety uses the WordPress core loading-strategy API, which automatically keeps scripts blocking when deferring would break their order. If a specific script still misbehaves, add its handle to "Never defer these scripts".

= Do I need a Google API key? =

No. Tests work without a key. If you run many tests per day, you can add a free PageSpeed Insights API key in the settings.

= Does it replace my cache plugin? =

No. It complements caching by removing unnecessary scripts and adding resource hints.

== External services ==

This plugin connects to the **Google PageSpeed Insights API** (https://www.googleapis.com/pagespeedonline/v5/runPagespeed) only when an administrator clicks the **Test speed** button on the Speed Ninety settings page. The request is made from the administrator's browser and sends the URL being tested, the device type (mobile or desktop) and, if entered, your API key. No data about your visitors is ever sent. Nothing is sent automatically.

This service is provided by Google: [Terms of Service](https://developers.google.com/terms), [Privacy Policy](https://policies.google.com/privacy).

== Screenshots ==

1. Built-in PageSpeed test with animated score gauge.
2. One-click recommended settings.
3. Every optimization explained in plain words.

== Changelog ==

= 1.0.0 =
* Initial release.

== Upgrade Notice ==

= 1.0.0 =
Initial release.
