Click here to Skip to main content
14,972,394 members
Articles / Hosted Services / WordPress
Posted 28 Feb 2014


4 bookmarked

Optimizing WordPress Performance with Plugins

28 Feb 2014CPOL5 min read
WordPress authors often worry that their blogs and sites load too slowly. Improving site performance simply by installing a plugin is an attractive and practical solution for authors who want better performance but do not want to apply great amounts of time, effort or money to achieve it.

This article is in the Product Showcase section for our sponsors at CodeProject. These articles are intended to provide you with information on products and services that we consider useful and of value to developers.


The very idea of using plugins to speed up the load times of a WordPress website or blog is counterintuitive, given that bloated plugins are often identified as the main reason a site performs too slowly. An entire cottage industry has evolved to address WordPress performance issues, along with a raft of plugins designed to monitor site performance and recommend strategies for improvement.

WordPress author awareness of the importance of minimizing page load times is on the rise, as studies continually show the number of seconds visitors are willing to wait before surfing elsewhere dropping year over year. Some experts now say a wait as long as 400 milliseconds—less than half a second—is enough to send visitors away, and a page load time a quarter of a second briefer than one’s competitors now constitutes an actual advantage on the web. Google now docks SEO points from slow sites, pushing them lower in hit lists.

Selectively deactivating installed plugins and then measuring any change in performance is a tried-and-true method for identifying performance-robbing plugins, which can then be uninstalled. After that, WordPress authors seeking quicker loads often try theme optimization, various caching strategies, or the adoption of a content delivery network.

But as a content management system (CMS), WordPress’s very reason for existence is convenience. Improving site performance simply by installing a plugin is an attractive and practical solution for many WordPress authors who want better performance but do not want to apply great amounts of time, effort or money to achieve it.

With that in mind, this article describes three ways to dramatically improve WordPress performance by doing nothing more than installing a plugin and choosing a few settings. All three plugins described are available from the WordPress Plugin Directory at

Loading Images Faster

Studies have shown that as many as 90 percent of WordPress sites are slowed chiefly by unoptimized images: picture files that contain excess metadata or are larger than necessary for how they are used in the layout. Many authors find that optimizing images is second only to cleaning out plugins as the quickest fix for a slow WordPress site.

Optimization isn’t the only approach to improving picture load times. Pros advise favoring images in the PNG format for icons and logos because of PNG’s transparency support, and favoring the JPEG format—and its typically smaller file sizes—for photographs. Using images first resized to the proper dimensions outside of WordPress helps, too; scaling them inside WordPress reduces dimensions but not file size.

But WordPress authors favoring a plugin optimization solution can look to tools like Prizm Image’s plugin for WordPress. Prizm Image is a free cloud service that applies patented technology to images to cut their files down to as little as a third of the original size while preserving the full resolution, display/print dimensions and image quality of the original image file. The service works on JPEG, PNG and GIF files.

The plugin for Prizm Image adds a single panel under the Media tab and some settings on the Media settings page to WordPress that enable the author to remove extraneous metadata and reduce file sizes for selected images in the author’s WordPress media library. The plugin can be configured to automatically apply these optimizations to all new images uploaded to the library, so every new image the author drops into a WordPress site is already as small and speedy as it can be.

Image 1 

The WordPress plugin for Prizm Image speeds up the load time of JPEG and PNG images by reducing their file size without changing their appearance.

Caching Pages for Faster Loading

As with image optimization, there are many different ways to enable caching of WordPress pages to speed up load times, some requiring more time and technical skill than others. But among the simple, plugin-based solutions is WP Super Cache, a static caching plugin.

The Super Cache plugin takes a dynamic WordPress site and uses it to generate static HTML files that load quickly and bypass the usual WordPress PHP script processing that can degrade performance.

The cached pages are served not to all visitors at all times, but rather to visitors who won’t notice the difference from the dynamic pages, such as those who aren’t logged in, those who have not left a blog comment or those who have not viewed a password-protected post. But by swapping in the HTML pages even for just these visitors, the plugin can trim server load and speed up performance for all visitors, even those viewing the regular WordPress PHP content.

Image 2 

The WP Super Cache plugin offers a variety of options for fine-tuning performance.

Compressing JavaScript and CSS

Script files typically contain both unnecessary characters and extra space—useless bytes that slow down script loading and processing. Minification is a technique for speeding up script processing by removing unnecessary characters from code without changing the code’s function.

WP Minify is a plugin that applies minification to JavaScript and CSS code in a WordPress site by integrating an online Minify engine with WordPress. Just as the Prizm Image plugin boosts performance by shrinking image files without affecting their appearance, WP Minify improves performance by shrinking JavaScript and CSS content without affecting its function.

In effect, after installation the WP Minify plugin grabs script content from generated WordPress sites and passes it to the Minify engine, which returns consolidated, minified, compressed code that trims page load times considerably.


This brief article only scratches the surface of available WordPress extensions that can have a significant positive performance effect in a variety of ways. For example, there’s a free WordPress plugin for the Prizm Cloud service that enables authors to embed a fast, powerful document viewing window in a WordPress page so visitors can view PDF documents, slideshows and other document content quickly, without downloading the file or loading an external reader or application program.

No doubt the very best WordPress performance will be achieved by those authors willing to brave digging into the bowels of MySQL or direct editing the PHP code. But doing so tends to run against the WordPress culture, where authoring is meant to be simple and problems are meant to be solved by plugins. Many authors will likely be happy with the gains they can achieve with the installation of a few simple performance-enhancing plugins. For them, the hardest part may be choosing which plugins to apply.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Stephen Bucholtz
United States United States
Stephen Bucholtz is a Senior Software Engineer with Accusoft. He has over 25 years of software development experience in a wide range of disciplines. Stephen holds a Master's Degree in Computer Science from the University of Florida.

Comments and Discussions

QuestionMessage Closed Pin
14-May-21 21:59
Membersanthukkk14-May-21 21:59 
QuestionWordpress and cache Pin
Maurice Lapin6-Sep-16 0:47
professionalMaurice Lapin6-Sep-16 0:47 
SuggestionImage Comparison Is Important As Much As Cache Plugin Pin
Member 127121171-Sep-16 5:18
MemberMember 127121171-Sep-16 5:18 
QuestionCaching plugins no longer effective? Pin
Member 1241621925-Mar-16 3:11
MemberMember 1241621925-Mar-16 3:11 
Questionoptimizing wordpress Pin
Member 120303483-Oct-15 6:08
MemberMember 120303483-Oct-15 6:08 
GeneralYes optimising Wordpress by plugins will help Pin
Member 109867591-Aug-14 19:14
MemberMember 109867591-Aug-14 19:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.