Home Plugins wpo tweaks
WPO Tweaks & Performance Optimizations logo

WPO Tweaks & Performance Optimizations

by Fernando Tellado on WordPress.org

Advanced performance optimizations for WordPress. Improves speed, reduces server resources and optimizes PageSpeed.

(30)
Pingdom Tools results before plugin activation

Pingdom Tools results before plugin activation

WPO Tweaks is the most complete performance optimization plugin for WordPress. It combines the best WPO (Web Performance Optimization) practices in a single easy-to-use tool. No configuration needed: activate and enjoy a faster WordPress.

By default, WordPress loads several functions, services and scripts that are not mandatory and usually slow down your installation and consume hosting resources. For years I have been testing tweaks to save hosting resources and improve WordPress performance and loading times. After thousands of tests, this plugin includes my best speed and performance optimizations with a single click.

With this plugin you can safely disable those annoying services, unnecessary codes and scripts to save resources and hosting costs, and speed up WordPress to get better results in tools like Google PageSpeed, Pingdom Tools, GTMetrix, WebPageTest and others.

New version 2.1.x with modular architecture and enhanced reliability!

NEW FEATURES V2.1.x

Modular Architecture:
* Complete Code Refactoring: Plugin rebuilt with modular architecture for better maintainability and performance
* Separated Components: Each optimization is now in its own module for easier debugging and updates
* Enhanced Reliability: Improved error handling and better compatibility across different hosting environments

File Management System:
* Automatic Backups: Creates secure backups of wp-config.php and .htaccess before modifications
* Safe Restoration: Automatic restoration of original files on plugin deactivation
* Intelligent Installation: Detects and resolves conflicts with existing configurations

Image Optimizations:
* Missing Image Dimensions: Automatically detects and adds width/height attributes to images and picture elements without dimensions, improving Cumulative Layout Shift (CLS) scores
* Picture Element Support: First plugin to automatically add dimensions to elements (more comprehensive than most optimization plugins)
* Enhanced Lazy Loading: Improved lazy loading system with better Gravatar support

Configuration Management:
* wp-config.php Optimization: Direct wp-config.php modifications for guaranteed trash retention settings (7 days)
* Conflict Resolution: Automatically removes conflicting existing configurations
* Clean Deactivation: Complete cleanup of all modifications when plugin is deactivated

User Experience:
* Activation Notice: Informative welcome message showing all applied optimizations
* Admin Dashboard: Clean interface with optimization summary
* Developer Friendly: Enhanced filter system for advanced customization

INCLUDED OPTIMIZATIONS

Classic Optimizations (since v1.0):
* Browser cache rules in .htaccess
* GZIP compression in .htaccess
* Remove Dashicons in admin bar (non-logged users only)
* Remove Emojis styles and scripts
* Disable REST API (completely disabled)
* Control Heartbeat API interval (60s instead of 15s)
* Remove Query Strings from static resources
* Defer JavaScript parsing
* Remove Query Strings from Gravatar
* Remove Really Simple Discovery link from header
* Remove wlwmanifest.xml (Windows Live Writer) from header
* Remove URL Shortlink from header
* Remove WordPress Generator version from header
* Remove DNS Prefetch from s.w.org
* Remove unnecessary links from header
* Remove RSS feeds generator name
* Remove Capital P Dangit filter
* Disable PDF thumbnails previews
* Disable internal Self Pingbacks

Advanced Optimizations (since v2.0):
* Automatic Critical CSS with smart cache
* Deferred CSS Loading for non-critical styles
* Automatic preconnect for Google Fonts, Analytics, etc.
* Smart DNS Prefetch for external resources including Gravatar
* Native Lazy Loading with decoding=async
* Automatic transients cleanup for expired entries
* Database query optimization
* jQuery Migrate removal when not needed
* Critical resources preloading (theme CSS, fonts)
* Enhanced security headers
* Administrative dashboard cleanup
* Smart revisions and trash management

New in v2.1.0:
* Missing Image Dimensions – Automatically adds width/height attributes to improve CLS scores
* Enhanced File Management – Secure backup and restoration system
* Modular Code Architecture – Better performance and maintainability
* Improved wp-config.php Handling – Direct configuration management for better reliability

HOW TO VERIFY OPTIMIZATIONS ARE WORKING

You can check each optimization individually to ensure WPO Tweaks is working correctly:

Missing Image Dimensions: Inspect images in your browser (F12 > Elements). Images should have width="X" and height="Y" attributes even if they weren’t originally coded with dimensions.

Critical CSS: View page source (Ctrl+U) and look for