How to Make WordPress Faster

These easy tips will help make WordPress faster. A good way to test the speed of your site is through GTmetrix. GTmetrix will analyze your website’s scripts and images and help you narrow down the reasons why your WordPress installation is slow.

Select a Good Hosting Company
Choose a hosting company that offers WordPress specific hosting.

Evoke Webworks  managed WordPress is fast and reliable.

Use a Caching Plugin
Caching plugins can help boost page speed. Here are a few good caching plugins

  • Better WordPress Minify
  • W3 Total Cache
  • Wp Fastest Cache
  • Zen Cache

These plugins will help you minify JS and CSS files. Some of these also defer parsing for you. If you’ve entered scripts into your pages manually, you will have to defer parsing manually.

Enable GZIP, DEFLATE & EXPIRE HEADERS in Your htaccess File
Most WordPress installations use a .htaccess file located in the root folder. Add this script to your htaccess file

Copy This Script to Your htaccess file

Header unset ETag
FileETag None

# BEGIN Expire headers
<ifModule mod_expires.c>
ExpiresActive On
ExpiresDefault “access plus 2592000 seconds”
ExpiresByType image/x-icon “access plus 2592000 seconds”
ExpiresByType image/jpeg “access plus 2592000 seconds”
ExpiresByType image/png “access plus 2592000 seconds”
ExpiresByType image/gif “access plus 2592000 seconds”
ExpiresByType application/x-shockwave-flash “access plus 2592000 seconds”
ExpiresByType text/css “access plus 604800 seconds”
ExpiresByType text/javascript “access plus 216000 seconds”
ExpiresByType application/javascript “access plus 216000 seconds”
ExpiresByType application/x-javascript “access plus 216000 seconds”
ExpiresByType application/xhtml+xml “access plus 600 seconds”
ExpiresByType text/html “access plus 1 day”
# END Expire headers

# BEGIN Cache-Control Headers
<ifModule mod_headers.c>
<filesMatch “\.(ico|jpe?g|png|gif|swf)$”>
Header set Cache-Control “public”
<filesMatch “\.(css)$”>
Header set Cache-Control “public”
<filesMatch “\.(js)$”>
Header set Cache-Control “private”
<filesMatch “\.(x?html?|php)$”>
Header set Cache-Control “private, must-revalidate”
# END Cache-Control Headers

# BEGIN GZIP (May not work on all servers)
# mod_gzip compression (legacy, Apache 1.3)
<IfModule mod_gzip.c>
mod_gzip_on Yes
mod_gzip_dechunk Yes
mod_gzip_item_include file \.(html?|xml|txt|css|js)$
mod_gzip_item_include handler ^cgi-script$
mod_gzip_item_include mime ^text/.*
mod_gzip_item_include mime ^application/x-javascript.*
mod_gzip_item_exclude mime ^image/.*
mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*

# DEFLATE compression
<IfModule mod_deflate.c>
# Set compression for: html,txt,xml,js,css
AddOutputFilterByType DEFLATE text/html text/plain text/xml application/xml application/xhtml+xml text/javascript text/css application/x-javascript
# Deactivate compression for buggy browsers
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4.0[678] no-gzip
BrowserMatch bMSIE !no-gzip !gzip-only-text/html
# Set header information for proxies
Header append Vary User-Agent

<IfModule pagespeed_module>
ModPagespeed on
# using commands,filters etc


Delete Plugins You Don’t Need
Deleting plugins that you don’t need can help make your site faster by keeping your database as light as possible. Some plugins load unnecessary scripts on pages that don’t utilize certain plugins. You can figure out which plugins are causing slow loading of your pages with plugins like P3 Profiler

Optimize Images
Your images should be as light as possible. Heavy images will slow down loading of page. Make sure your images are saved for web at 72 resolution. Depending on quality the weight of the image will vary. Try and compress your image down to under 400kb.

optimize-images-for-web - Make WordPress Faster

Optimize Your Database
Your database stores all your sites information/content. When you delete a plugin, sometimes the plugin database tables & content remain in your database and just takes up space. Make sure you delete any unnecessary tables. A good plugin to use is WP Optimize. This plugin allows you to delete

  • post revisions
  • unused drafts
  • posts in trash
  • unapproved comments

& more.

Use Lazyload for Your Images
If you don’t have a theme that uses LazyLoad, you can install a LazyLoad plugin. This will improve page speed by loading images only when users scroll pages. This means that pages are not loaded all at once.


Use a Content Delivery Network(CDN)
CloadFlare is a great CDN. It will serve all your static files like CSS, Javascript and images from servers closest to users viewing your site. CloudFlare is free!

You can also use Max CDN.

Read article on how to set up a free CloudFlare account to make your site faster.

Thanks for Reading! Please share these easy quick tips for making WordPress faster.

Take Your Marketing Materials To The Next Level

Fill out my online form.