speed up that site! - a guide to caching plugins
DESCRIPTION
This session will cover how to use popular free plugins to speed up sites and optimize them for better performance. We’ll go over basics of caching and discuss the pitfalls and issues you have to watch out for especially when working with typical shared hosting services.TRANSCRIPT
![Page 1: Speed Up That Site! - a guide to caching plugins](https://reader033.vdocuments.mx/reader033/viewer/2022052618/554a274eb4c90526578b4a7e/html5/thumbnails/1.jpg)
semperfiwebdesign.com semperfiwebdesign.com
Speed Up That Site! A guide to caching plugins
Peter Baylies
![Page 2: Speed Up That Site! - a guide to caching plugins](https://reader033.vdocuments.mx/reader033/viewer/2022052618/554a274eb4c90526578b4a7e/html5/thumbnails/2.jpg)
semperfiwebdesign.com
My site is slow!
• Why is my site slow? – I have no idea.
• What could it be? – HosEng – Theme – Plugins – Server – Gremlins
![Page 3: Speed Up That Site! - a guide to caching plugins](https://reader033.vdocuments.mx/reader033/viewer/2022052618/554a274eb4c90526578b4a7e/html5/thumbnails/3.jpg)
semperfiwebdesign.com
Can I improve this?
• Sure! – Install a caching plugin
• What is that? – Let me Google that for you
![Page 4: Speed Up That Site! - a guide to caching plugins](https://reader033.vdocuments.mx/reader033/viewer/2022052618/554a274eb4c90526578b4a7e/html5/thumbnails/4.jpg)
semperfiwebdesign.com
Cache /kaSH/ (verb)
gerund or present parEciple: caching 1. store away in hiding or for future use. COMPUTING store (data) in a cache memory. COMPUTING provide (hardware) with a cache memory
![Page 5: Speed Up That Site! - a guide to caching plugins](https://reader033.vdocuments.mx/reader033/viewer/2022052618/554a274eb4c90526578b4a7e/html5/thumbnails/5.jpg)
semperfiwebdesign.com
Analogies…
![Page 6: Speed Up That Site! - a guide to caching plugins](https://reader033.vdocuments.mx/reader033/viewer/2022052618/554a274eb4c90526578b4a7e/html5/thumbnails/6.jpg)
semperfiwebdesign.com
Analogies – it’s like…
• Squirrels – Stockpile for winter, you might need it then!
• Going to the store – Stock up on groceries!
• Pancakes – Make your own pancake mix, save Eme later!
• Recipes
![Page 7: Speed Up That Site! - a guide to caching plugins](https://reader033.vdocuments.mx/reader033/viewer/2022052618/554a274eb4c90526578b4a7e/html5/thumbnails/7.jpg)
semperfiwebdesign.com
Understanding the Environment
• “LAMP” Environment – Linux – Apache – MySQL – PHP
• and… WordPress!
![Page 8: Speed Up That Site! - a guide to caching plugins](https://reader033.vdocuments.mx/reader033/viewer/2022052618/554a274eb4c90526578b4a7e/html5/thumbnails/8.jpg)
semperfiwebdesign.com
Major Caching Plugins
• WP Super Cache – Pro: Does page caching well – Pro: Easy to set up – Con: Doesn’t have an object cache
• W3 Total Cache – Pro: comprehensive caching plugin – Pro: Has a lot of opEons – Con: Has a lot of opEons
![Page 9: Speed Up That Site! - a guide to caching plugins](https://reader033.vdocuments.mx/reader033/viewer/2022052618/554a274eb4c90526578b4a7e/html5/thumbnails/9.jpg)
semperfiwebdesign.com
Ok But What Is It Really?
• Page caching – save the page for later • Object caching – save a result for later • Database caching – save a query for later • Browser caching – ask the user to save it • CDN – get another server to help you
![Page 10: Speed Up That Site! - a guide to caching plugins](https://reader033.vdocuments.mx/reader033/viewer/2022052618/554a274eb4c90526578b4a7e/html5/thumbnails/10.jpg)
semperfiwebdesign.com
Avoiding Extra Work
• Page caching – avoiding MySQL and PHP • Object caching – avoiding MySQL (and PHP?) • Database caching – avoiding MySQL • Browser caching – avoiding Apache • CDN – avoiding your server enErely
![Page 11: Speed Up That Site! - a guide to caching plugins](https://reader033.vdocuments.mx/reader033/viewer/2022052618/554a274eb4c90526578b4a7e/html5/thumbnails/11.jpg)
semperfiwebdesign.com
Awesome! What else?
• Caching backends – memcached – APC
• Caching frontends – Varnish
• WordPress features – Transients – Drop-‐ins
![Page 12: Speed Up That Site! - a guide to caching plugins](https://reader033.vdocuments.mx/reader033/viewer/2022052618/554a274eb4c90526578b4a7e/html5/thumbnails/12.jpg)
semperfiwebdesign.com
QuesEons?
• Thank you! • Further Reading:
– hap://tollmanz.com/core-‐caching-‐concepts-‐in-‐wordpress/ – hap://codex.wordpress.org/WordPress_OpEmizaEon/Caching