Skip to content

Instantly share code, notes, and snippets.

@hugodias
Last active January 4, 2018 15:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hugodias/bcc6c209e4565f91fe719bacfe0e196a to your computer and use it in GitHub Desktop.
Save hugodias/bcc6c209e4565f91fe719bacfe0e196a to your computer and use it in GitHub Desktop.

Wordpress performance checklist

This is a Wordpress performance checklist

Measuring

Infrastructure

  • Use a VPS such as Digital Ocean, Linode or AWS
    • Use newest PHP version
  • Install Varnish
  • Use Cloudflare
    • Use Cloudflare's Rocket

Development

  • Use responsive images with img's' srcset and size attributes
    • If you are using Wordpress 4.x the native functions such as the_post_thumbnail() already does that.
  • Enable multiple thumbnail sizes using the function add_image_size()
  • Minize the source code (W3 Total Cache does that)

Plugins

  • Install Smush.it to compress and limit images max sizes
    • Enable max image size
  • Install W3 Total Cache to improve website performance
    • Enable page cache
    • Enable browser cache
    • Enable database cache
    • Enable object cache
  • Install Lazy Load to improve page speed and render only images on view port

Maintence

  • Keep wordpress updated
  • Keep all your plugins updated
  • Keep your theme updated
  • Remove unused plugins
  • Use Wp-Optimize once a week
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment