Lighthouse is a WordPress performance tuning plugin, removing lots of default WordPress behaviour, such as filters, actions, injected code, native code and third-party actions.
In order for a WordPress installation to work as expected, load fast and error-free, it needs a bit of cleanup in order to help the browser cache the requested content and the caching plugins to work with 100% efficiency.
Based on each user requirements, this plugins allows for removal of unused classes and IDs, redundant scripts and stylesheets, new and non-optional features and queries, disabling of various native requests and functionality.
This plugin also helps all pre-caching routines, by making the source code smaller and allow for improved minification and caching.
This plugin also helps with security, by adding several rules for HTTP(S) requests, XML-RPC and malicious requests.
Last but not least, the plugin allows for inclusion of most used libraries, such as Dashicons, jQuery, FontAwesome, Modernizr and more.
The plugin contains 4 optimization presets:
The Sweeper will clean up your WordPress database by performing the following actions: remove all post revisions, remove all spam comments, remove all unapproved comments, remove all unused tags, remove all unused post meta and optimize MySQL tables. Make sure you have a backup of your WordPress database before cleanup, as all actions are permanent and undoable.
= 2.3.5 = * FIX: Fixed HSTS help link * FIX: Removed old nofollow fix breaking the Dashboard * UPDATE: Removed Zen notice from pages other than Lighthouse settings page * UPDATE: Updated server software recommendations * UPDATE: Updated WordPress recommendations * UPDATE: Updated Normalize.css (6.0.0 to 7.0.0) * UPDATE: Updated Pure.css (0.6.2 to 1.0.0) * UPDATE: Removed an incorrect check for server protocol = 2.3.4 = * FIX: Fixed commenter link nofollow attribute removal = 2.3.3 = * FEATURE: Added memory usage and CPU load * UPDATE: Updated server software recommendations * UPDATE: Updated WordPress recommendations * UPDATE: Updated Normalize.css (5.0.0 to 6.0.0) * UPDATE: Updated REST API recommendations = 2.3.2 = * FIX: Fixed PHP 7 compatibility with Gravatar caching * FEATURE: Added option to disable REST API * UPDATE: Added Entypo Fontello to theme tweaks * UPDATE: Updated Modernizr.js (2.8.3 to 3.3.1) * UPDATE: Tweaked server software recommendations * UPDATE: Tweaked option security (and improved performance by forcing strict checks) = 2.3.1 = * UPDATE: Removed jQuery UI option as it's a theme specific feature * UPDATE: Removed ambiguous HTTPS message * UPDATE: Updated WordPress recommendations * UPDATE: Updated server software recommendations * UPDATE: Updated Normalize.css (0.6.0 to 0.6.2) = 2.3.0 = * FIX: Removed a potentially limiting option * UPDATE: Updated WordPress recommendations * UPDATE: Updated server software recommendations * UPDATE: Updated Normalize.css (4.2.0 to 5.0.0) * UPDATE: Updated FontAwesome.css (4.6.3 to 4.7.0) * PERFORMANCE: Replaced a preg_replace() function with a native WordPress filter = 2.2.1 = * UPDATE: Merged cleanup options * UPDATE: Wording and contextual help updates * UPDATE: Fixed several typos * UPDATE: Removed the Genericons dequeue option * UPDATE: Removed the Fancybox dequeue option * UPDATE: Merged content parsing options * UPDATE: Added documentation = 2.2.0 = * UPDATE: Removed footer link attribution * UPDATE: Changed method of removing jQuery Migrate and using an outdated jQuery version * UPDATE: Removed a recommended option which added extra database queries * UPDATE: Removed two deprecated functions * UPDATE: Changed a request check after the option check = 2.1.0 = * FIX: Checked if cache size is higher than 0 before applying filters * FIX: Properly formatted numbers and filesize * FIX: Fixed some ambiguous wording * FIX: Fixed wrong value in the Sweeper section * UPDATE: Removed a size calculation function * UPDATE: Added a Zen mode option which removes most of WordPress-related clutter, notifications, meta boxes and filters * UPDATE: Combined three options into one * UPDATE: Removed Open Sans removal option (WordPress 4.6 defaults to system fonts) * UPDATE: Updated enqueued developer scripts to use HTTPS (cdnjs.com and jsdelivr.com) * UPDATE: Updated normalize.css to 4.2.0 (from 4.1.1) = 2.0.6 = * UPDATE: Made Gravatar cache optional via setting in "Cache & Compression" tab * UPDATE: Added error reporting option * UPDATE: Updated Theme Tweaks scripts and stylesheets versions = 2.0.5 = * UPDATE: Added more methods for XML-RPC protection * UPDATE: Merged ping option with XML-RPC as they are related * UPDATE: Forced removal of pingback URL for themes with hardcoded tag = 2.0.4 = * UPDATE: Added option to move scripts to footer * UPDATE: Added option to cache Gravatars * UPDATE: Minor UI improvements = 2.0.3 = * UPDATE: Updated CSS/JS developer libraries * UPDATE: Updated recommended PHP version * UPDATE: Updated recommended MySQL version (decreased to 5.6) * UPDATE: Updated WordPress version requirement = 2.0.2 = * FIX: Fixed a typo * FIX: Removed unused backup options * FIX: Fixed an XSS vulnerability in remove_query_arg() * UPDATE: Updated FontAwesome to version 4.6.2 * UPDATE: Updated attribution link for better appearance * PERFORMANCE: Combined all initialization actions for faster startup * PERFORMANCE: Combined all widget initialization actions for faster startup * PERFORMANCE: Changed version query removal to accept values from an array = 2.0.1 = * UPDATE: Updated FontAwesome to version 4.6.1 = 2.0.0 = * UPDATE: Removed partial backup feature * UPDATE: Removed LInfo module as it posed a security risk * UPDATE: Updated FontAwesome to version 4.6.0 * UPDATE: Replaced FontAwesome with Dashicons in admin view = 1.9.2 = * UPDATE: Added protocol check * UPDATE: Added HTTP/2 check * UPDATE: Removed MySQL client library check and replaced it with `$wpdb->db_version()` * UPDATE: Increased recommended PHP version to 7.0.3 * UPDATE: Increased recommended MySQL version to 5.6 * UPDATE: Added link to official WordPress guidelines for site hardening = 1.9.1 = * FEATURE: Added HTML minify * UPDATE: UI improvements = 1.9.0 = * FIX: Added autoload argument to all plugin options * FIX: Fixed ETag generation by using actual filename instead of SCRIPT_FILENAME * FIX: Fixed call-by-reference variables * FIX: Removed all session control * FIX: Changed Cache-Control to public (allow for global caching, instead of per-user) * FIX: Re-enabled capital_P_dangit() filter :) * UPDATE: Updated URL schema of included scripts and styles * UPDATE: Added contextual help and legend = 1.8.0 = * UPDATE: Fixed description style * UPDATE: Merged some options * FEATURE: Added server information (based on Linfo) * FEATURE: Added CSS/JS compression * FEATURE: Added contextual help * FIX: Removed admin tweaks as it broke some installations * FIX: Fixed admin FontAwesome enqueuing * FIX: Reworded the Sweeper clean-up options for less technical users = 1.7.0 = * UPDATE: Added WordPress 4.4 compatibility * UPDATE: Fixed Sweeper UI * UPDATE: Improved Sweeper functionality * UPDATE: Added Sweeper backup notice * FEATURE: Added WordPress version check * FEATURE: Added WordPress 4.4 embed option * FEATURE: Added cache control options * FIX: Removed a hardcoded link = 1.6.0 = * PERFORMANCE: Removed option autoloading (performance gain) * DEV: Changed version format to x.y.z * DEV: Removed hardcoded plugin version and switched to get_plugin_data() * COMPATIBILITY: Added new WordPress 4.4 admin styles * SECURITY: Added HSTS = 1.5.0 = * UPDATE: Reinforced XML-RPC protection by adding pingback protection * UPDATE: Hidden XML-RPC from HTTP response headers = 1.4.0 = * FEATURE: Added widget removal * FEATURE: Added content filtering removal * FEATURE: Added various other actions disabling * FEATURE: Added new helper (template part caching) = 1.3.0 = * FIX: Fixed a variable switch for Recommended and Aggresive plans * FIX: Fixed GZIP detection * FEATURE: Added transient clean option using CRON * FEATURE: Added `If Modified Since` HTTP header * FEATURE: Added autosuggest removal option (wp-admin only) * FEATURE: Added security options * FEATURE: Added XML-RPC system.multicall removal * UPDATE: UI improvements * UPDATE: Moved XML-RPC options to Security tab = 1.2.0 = * FEATURE: Added style tag clean option * FEATURE: Added script tag clean option * FEATURE: Added scheme normalization option * FEATURE: Added CSS attributes removal option * FEATURE: Added nofollow removal option to scoring/ranking tweaks = 1.1.0 = * RELEASE: First public release