=== Antypas WP Speed Cleanup ===
Contributors: ioannisantypas
Tags: performance, cleanup, disable emoji, heartbeat, optimization
Requires at least: 5.6
Tested up to: 7.0
Requires PHP: 7.2
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Remove the extra scripts and tags WordPress adds to every page that most sites never use, for a lighter, faster front end.

== Description ==

Antypas WP Speed Cleanup removes the small extras WordPress loads on every page that the majority of sites do not need. Less code on the page means a lighter, faster front end.

It is built to be safe. The cleanups that are safe on almost every site are turned on for you. The few options that can affect some themes are turned off until you choose them, each with a plain-English warning.

= Safe cleanups (on by default) =

* Remove the emoji scripts that load on every page (emoji still display normally)
* Remove unused header tags such as RSD and Windows Live Writer, and the WordPress version number
* Remove the shortlink tag from the page header
* Stop your site sending pingbacks to itself when you link between your own posts

= WordPress Heartbeat =

The Heartbeat feature checks in with your server on a regular timer, which can add load on busy sites. You can leave it as default, slow it down to once a minute, or turn it off on the front of the site while keeping it in the editor. Autosave and post locking keep working.

= Advanced options (off by default) =

* Disable the WordPress embed script, if you do not embed other WordPress posts
* Remove the WordPress icon font (Dashicons) for logged-out visitors

= What it does not do =

This is not a caching plugin and it does not change your images or your theme files. It works alongside any caching or performance plugin you already use.

== Installation ==

1. Upload the plugin to the /wp-content/plugins/ directory, or install it through the Plugins screen in WordPress.
2. Activate the plugin through the Plugins screen.
3. Go to Speed Cleanup in the admin menu. The safe cleanups are already on.
4. Review the advanced options and turn on any that suit your site, checking your site afterwards.

== Frequently Asked Questions ==

= Will this break my emoji? =

No. Modern browsers and phones show emoji on their own. The plugin only removes the extra WordPress code that is no longer needed for them.

= Is it safe to remove the header tags? =

Yes for almost every site. The tags it removes are for old services such as Really Simple Discovery and Windows Live Writer that very few sites use today.

= What does the Heartbeat setting do? =

WordPress sends a regular request to your server to power features like autosave. On busy sites this can add load. Slowing it down or turning it off on the front of the site reduces that load while keeping autosave and post locking in the editor.

= Should I turn on the advanced options? =

Only if they fit your site. Turn them on one at a time and check your site still looks and works correctly, because some themes rely on embeds or the icon font.

= Is this a caching plugin? =

No. It does not cache pages. It works alongside any caching plugin you already use.

== Changelog ==

= 1.0.0 =
* Initial release.
* Safe front-end cleanups for emoji scripts, header tags, shortlink and self-pingbacks.
* WordPress Heartbeat control.
* Optional advanced options for embeds and Dashicons.