One of my tutorials on Tuts+ talks about top 10 wordpress optimization tips. Some of the tips in that post mention using cache plugins, compressing CSS and JS, optimizing images and so on.

In this post, I’ll give you a brief overview of the best plugins you can use to do all that and more with relative ease.

1. LiteSpeed ​​​​Cache

LiteSpeed ​​​​CacheLiteSpeed ​​​​CacheLiteSpeed ​​​​Cache

LiteSpeed ​​​​Cache is one of the best if not the best plugins out there for optimizing your website. Don’t be fooled by the name of the plugin. It actually does a lot more than just cache content.

  1. It can minify the CSS, JavaScript and HTML you use on your website. You can also use it to minify inline as well as external CSS or JS.
  2. It supports lazy loading of images with the ability to use responsive image placeholders while the images are loading. You can also lazily load iframes.
  3. You can load CSS asynchronously and delay or delay JavaScript loading. It is also possible to combine the CSS and JS of multiple files into a single file to reduce the number of requests.
  4. You can optimize images with lossless as well as lossless compression. The plugin also provides support for converting images to WebP format.

Some optimization and caching features require careful integration of the server with the plugin. Therefore, they are only available on servers with LiteSpeed ​​installed on the server.

  1. You can set up automatic page caching to load pages much faster. There is even support for private cache for logged in users.
  2. Caches will become stale after a while. LiteSpeed ​​understands this and allows you to schedule a cleanup of specific URLs. You can also set up some related pages to be automatically purged based on certain events such as after publication.

The only downside to LiteSpeed ​​Cache is that it requires you to spend some time learning what all the options related to website optimization do.

2. W3 total cache

W3 total cacheW3 total cacheW3 total cache

The W3 total cache plugin also called W3TC is a web host agnostic WordPress optimization plugin. One major advantage of using this plugin is that it will work equally well with all types of sharing services such as a shared hosting, dedicated hosting or private hosting.

  1. This plugin comes with support for caching mobile version of pages based on user agents. It also works with AMP or Accelerated Mobile Pages.
  2. It can compress and minify CSS and JavaScript used on your website. You have full control over minifying CSS, HTML or JavaScript.
  3. You can also cache data for categories, tags, comments or search results in memory or on disk as well as on CDN.
  4. There is support for caching database objects and fragments in memory or on disk.
  5. It is also possible to minify inline, embedded or third-party JavaScript and CSS for optimal performance.
  6. You can delay the loading of non-critical CSS and JavaScript to render pages even earlier than usual.

The plugin uses aggressive browser caching to make repeat views much faster. Other optimizations help improve the performance on the back end and you save bandwidth due to smaller HTML, CSS and JavaScript files.

3. WP fastest cache

WP fastest cacheWP fastest cacheWP fastest cache

The WP fastest cache plugin is another option for people who want to optimize their website. It’s easy to set up and uses a bunch of techniques to improve website performance.

  1. As you may know, generating a web page in WordPress requires some PHP processing as well as fetching data from the MySQL database. Repeating this process for each page visit will consume CPU cycles that could be used elsewhere. The WP Fastest Cache plugin solves this problem by caching a static HTML version of your WordPress posts.
  2. You can also minify the CSS and HTML used on your website to lower the overall page weight. However, you will need to use the premium version to minify JavaScript.
  3. The free version of the plugin also has the option to combine the CSS and JavaScript to reduce the total number of requests made.
  4. Let’s say you don’t want to use the emoji feature offered by WordPress, you can use this plugin to remove the related CSS and JavaScript to speed up the site.

The free version of this plugin is enough for basic optimization, but you will need to use the premium version to access more features.

The premium version offers dedicated cache for mobiles and widgets. It also allows you to optimize images by compressing and converting them to more efficient formats such as WebP. You can also lazy load your images with the premium version.

While WP Fastest Cache is a great plugin, I feel that its free version is lacking compared to other available options.

4. WP optimize cache

WP Optimize cacheWP Optimize cacheWP Optimize cache

The WP optimize cache plugin is a feature-rich WordPress optimization plugin that uses multiple techniques to make sure your website performs at its best.

There are three things that can slow down a WordPress site – lack of a proper caching mechanism, a clogged database and unoptimized images. The WP-Optimize Cache plugin solves all these problems for you.

  1. You can configure this plugin to clean the database regularly. This step involves multiple actions, such as deleting unnecessary data, such as comments and posts that are junk. You can also defrag your MySQL tables to improve query speed.
  2. This plugin also allows you to minify the CSS and JavaScript used on your website. The page weight goes down further when Gzip compression is enabled. You can also combine multiple CSS and JavaScript files to reduce the total number of requests made.
  3. You can also configure browser cache related options with this plugin so that pages load much faster with repeated views. What if you don’t want to cache certain specific parts of your website? You can easily exclude them from the cache using the advanced cache exclusion rules.
  4. WP-Optimize Cache also offers impressive image optimization features. You can apply lossy compression to large images to significantly reduce their size. It is possible to perform bulk compression on multiple images at once and if you don’t like the result, there is an option to restore original images. You can also tell the plugin to automatically compress any new images uploaded to the site.

Some features like lazy loading of images and quick deletion of unused or unwanted images are only available in the premium version of the plugin. The premium version also offers WP-CLI support, multisite support as well as advanced scheduling capabilities among other features.

5. Super Page Cache for Cloudflare

Super Page CacheSuper Page CacheSuper Page Cache

Anyone who knows what a CDN is has probably also heard of Cloudflare. This Super Page Cache plugin by Cloudflare is incredibly easy to use. All you need to do is provide your Cloudflare account’s API key. The default settings pre-applied in this plugin work great out of the box. However, you can also adjust some options if you are not satisfied with the results and want to experiment.

Besides LiteSpeed, the caching and optimization plugins we’ve covered so far only offer local server-level optimizations. This includes minification of JavaScript, CSS and HTML, compression of images, etc. These are important things you need to do if you want any website to perform at its best.

However, using the Super Page Cache plugin will help you take things further. You can use this plugin to cache static resources such as CSS, JavaScript, and images, as well as the HTML generated by WordPress for different pages. All your resources are stored in over 200 different CDN edge locations. This ensures that your website content is served very quickly and it also reduces the load on your original website server.

This plugin works great in conjunction with other optimization plugins I mentioned above. You just need to make sure that the page cache feature is disabled on those plugins, while all other optimizations work as usual. All the aspects of page caching will be handled by this plugin.

Final Thoughts

If you’re using a web host that has LiteSpeed ​​installed on its servers, you should go ahead and install the LiteSpeed ​​cache plugin without a second thought. This plugin does an excellent job of optimizing your WordPress site. It will take you some time to figure out what all the available options do, but the effort is definitely worth it.

If you’re using a web host that doesn’t have LiteSpeed ​​installed, I’d recommend using the WP-Optimize Cache plugin along with the Super Page Cache for Cloudflare plugin. Using both together will really improve your site’s performance.


Source link