How to Speed Up Your WordPress Site (Ultimate 2022 Guide)

How to Speed Up Your WordPress Site
Last updated:

Performance & Speed Optimization

Install the plugin Autoptimize & W3 Total Cache 

  1. Install and activate the plugin W3 Total Cache.
  2. Go to Performance > General Settings.
  3. Next to Page Cache: tick Enable and set page cache method to Disk: Enhanced.
  4. Next to Browser Cache: tick Enable.
  5. Click Save All Settings.
  6. Go to Performance > Browser Cache and ensure Set expires header, Set Last-Modified header and Enable HTTP (gzip) compression are ticked.
  7. Click Save All Settings.

Advanced: Minifiy & Improve CSS/JS Delivery

Minification and merging of all the assets of WordPress, plugins and theme can improve delivery of data by reducing size, improving compression, and sending all the data in one request instead of multiple ones. You will need a free plugin named Autoptimize for this.

WARNING The steps involved can break plugins so it’s for Advanced users only.

  1. Install the plugin Autoptimize.
  2. Go to Settings > Autoptimize.
  3. Click the Show Advanced Settings button at top right.
  4. Under Javascript Options, tick Optimize Javascript Code.
  5. For max performance, you can remove all scripts under “Exclude scripts from Autoptimize:” but this might BREAK plugins – only enable it after everything else is tested so you can be sure if this caused an issue.
  6. Under CSS Options, tick Optimize CSS Code.
  7. For max performance, there are further options here, try to see which works better for you. Use either (a) OR (b):
  8. (a) Tick “Inline all CSS?”. We use this option ourselves. You must have GZIP enabled via a cache plugin (as above) or your webhost to benefit most from this.
  9. (b) Tick “Inline and Defer CSS” but this might break plugins – only enable it after everything else is tested so you can be sure if this caused an issue.
  10. Click Save Changes and Empty Cache button.

Zeen is a next generation WordPress theme. It’s powerful, beautifully designed and comes with everything you need to engage your visitors and increase conversions.