WordPress Speed Optimization - How I Got 100% GTmetrix Scores

WordPress Speed Optimization - How I Got 100% GTmetrix Scores

Online Media Masters

4 года назад

140,849 Просмотров

Cloudways Vultr High Frequency (recommended host): https://www.cloudways.com/vultr-hosting.php?id=262128 (use promo code OMM25 to get 25% off your first 2 months). I no longer recommend SiteGround since they went downhill in 2020 and have a slow TTFB as reported by Backlinko: https://backlinko.com/page-speed-stats#ttfb-and-hosting

This is a complete guide to WordPress speed optimization and how I got 100% GTmetrix scores. Here's how to speed up your website with step-by-step instructions.

Timestamps:
1. Intro: 0:00
2. Hosting 1:15
3. Upgrade to PHP 7.2 or 7.3 5:15
4. Configure a cache plugin 6:17
-WP Fastest Cache (free): 7:37
-WP Rocket (premium): 7:58
-Lazy Load: 9:15
-Prefetch DNS Requests: 9:54
-Database Cleanup: 10:39
-CDN: 11:08
-Multiple CDNs: 11:53
-Heartbeat Control: 12:38
-Host Google Analytics Locally: 12:59
5. Cloudflare
-Setting up Cloudflare 13:46
-Cloudflare settings 15:20
-Firewall rules 16:53
-Block Bad Bots 17:22
-Speed Settings 18:53
-AMP 19:21
-Page Rules 20:35
-Scrape Shield: 21:29
6. Optimize Images
-Serve Scaled images: 22:35
-Specify Image Dimensions 23:30
-Lossless Compression: 23:48
-WebP + SVG: 23:58
7. Plugin Optimization 24:59
8. Optimize External Resources 28:07
9. Clean Up WP Admin 31:05
10. WooCommerce Optimization 33:29
11. Anti-Spam Plugin 34:52
12. Disable WP-Cron 35:12
13. Minimize Redirects 35:59
14. Lightweight Theme 36:36
15. Speed Plugins 37:31

Hosting (#1 factor of site speed, 1:15):
Cloudways — recommended cloud host, faster than SiteGround and gaining traction in Facebook Groups, I recommend their DigitalOcean plan: https://www.cloudways.com/en/digital-ocean-cloud-hosting.php?id=262128
Kinsta — expensive, but super fast and pretty much everyone using Kinsta loves them: https://kinsta.com/?kaid=NQDQIFWNQAMN
WP Engine — not the best choice for this price, they have gone downhill in recent years, use Cloudways or Kinsta instead: https://onlinemediamasters.com/go/wp-engine-plans/
*Do your research in Facebook Groups and on TrustPilot (2 of the few places to get honest hosting reviews). Avoid EIG: https://en.wikipedia.org/wiki/Endurance_International_Group
SiteGround — I no longer recommend them for many, many reasons. See here: https://onlinemediamasters.com/siteground-wordpress-hosting-review/

Other Paid Services:
WP Rocket: https://onlinemediamasters.com/go/wp-rocket/ (10% off if you sign up for email list)
StackPath: http://tracking.stackpath.com/c/54153/469817/8285
Perfmatters: https://perfmatters.io?ref=146
Hire my team to speed up your website: https://onlinemediamasters.com/wordpress-speed-optimization/

Resources:
Written version of this guide: https://onlinemediamasters.com/slow-wordpress-site/
WP Rocket tutorial: https://onlinemediamasters.com/wp-rocket-settings/
WP Fastest Cache tutorial: https://onlinemediamasters.com/wp-fastest-cache-settings/
Prefetch DNS requests GitHub: https://gist.github.com/lukecav/9931c3f6e402e23f58065d6b2665ef5b
Slow plugins to avoid: https://onlinemediamasters.com/slow-wordpress-plugins/
WordPress Hosting Facebook Group: https://www.facebook.com/groups/wphosting/
WordPress Speed Up Facebook Group: https://www.facebook.com/groups/wordpressspeedup/

Comment with your new GTmetrix report or any questions you have :)
Tom

Тэги:

#wordress #speed_optimization #website_speed #slow_wordpress #gtmetrix
Ссылки и html тэги не поддерживаются


Комментарии: