Simple but effective performance tweaks for WordPress.
Currently the plugin includes the following performance options:
Disable Advanced Custom Fields on Frontend: ACF or Advanced Custom Fields is a WordPress plugin to create custom Meta Boxes on your site. Most sites uses ACF to show meta boxes in the Admin area of the site and rarely use it on the front-end. Despite that, ACF loads, JS/CSS files on the front-end as well which can add more resources on the front-end of your site.
Remove Query Strings: Remove query strings from static resources. WordPress by default adds a query string to all CSS and JS files used in your site. Having this query string might make some CDNs to not cache these files.
DNS Single Post Prefetch: Enable DNS Prefetching on single posts, so when a user is on single post or page or any custom post type and clicks on the link for homepage then the homepage will open without any delay. Note: DNS Prefetching only works with HTTP2. So, if your server does not support HTTP2 then this will not work.
Disable XML-RPC: The WordPress XML-RPC is a specification that aims to standardize communications between different systems. It uses the HTTP protocol and XML as an encoding mechanism which allows for various data to be transmitted. Are you using any desktop based application to write post for your blog? If not, then its best to disable XML-RPC on your site as this can be used to do a DDOS attack on your site.
Disable WordPress Heartbeat: WP Heartbeat API works by calling the admin-ajax.php file and on server with low memory or shared hosting this can significantly slow down the website.
Limit Post Revisions: Limit the number of Post Revisions to a maximum of 5. This will help to reduce the size of the database.
Installation from within WordPress
- Visit Plugins > Add New.
- Search for Performance Tweaks.
- Install and activate the Performance Tweaks plugin.
- Upload the entire
rh-performancefolder to the
- Visit Plugins.
- Activate the Performance Tweaks plugin.
- Visit the new Settings > Performance Tweaks menu.
- Enable the individual modules you would like to use.
Contributori și dezvoltatori
„Performance Tweaks” este un software open-source. La acest modul au contribuit următoarele persoane.Contributori
Added an option to limit Post Revisions to a maximum of 5