Pratik has 12 years of experience in the Hosting industry and knows what are the kind of limitations hosting providers implement on their servers. He has insight on what works on these servers and what does not. He is looking to share this experience with the all of us and share the tricks that work with most of the hosting providers. These tweaks should help you to get maximum performance from your current package without spending anything on resources or additional upgrades or services.
7. ● 1 Second Delay in Page load leads to
○ 11% Drop in pageviews
○ 16% Decrease in customer satisfaction
○ 7% Loss in Conversion
● 83% people expect a web page to load under 3 secs
● 40% will abandon a web page if it takes more than 3 secs to load
● 73% of mobile users have encountered a slow website
Slow Site Problems
9. Solutions
● Adding more resources?
● VPS/Dedicated/Cloud?
● How much is too much?
● Where do you stop?
● What's the actual solution?
● Optimizations?
13. ● Update WP/Plugins/Themes to the latest version
● Enable auto updates
● Disable unnecessary plugins
● Limit Web Crawlers and Bots
● Limit WP Crons (Use cPanel or server side crons)
● Use reliable theme providers
Optimizations - Simple
14. ● Use web optimized images (WP Smush)
● Use JPG instead of PNG
● No of elements < 30-50
● Page size guide
○ Excellent: Under 500 KB
○ Good: Under 1 MB
○ Acceptable: 1-3 MB
Optimizations - Simple
15. ● Use Domain Sharding
● Use CSS Sprites
● Customize wp-config
○ Autosave intervals
○ Limit post revisions
○ wp_home
○ wp_siteurl
Optimizations - Advanced
16. ● WP-Sweep Plugin
○ Cleanup unused, orphaned and duplicate data
● WP-Optimize
● Anti Spambot plugin
● Expires and Etag for browsers
● Gzip on server
Optimizations - Advanced
17. ● WP Super Cache or W3 Total Cache
● CDN’s
● Database caching
○ Memcached, Redis (DB caching)
● Web caching
○ Varnish caching
Optimizations - Advanced
18. ● Resource Intensive Plugins
○ Some SEO plugins
○ Some image galleries and media players
○ Web based backup plugins
○ Web based crons
● Pirated plugins/themes
● Scripts/plugins/themes from unknown/unreliable sources
Optimizations - To Avoid
20. Case Study
● A simple blog set up on shared hosting in GPX Mumbai
● Multidomain Linux Hosting with cPanel
● Jmeter automated tests from Mumbai India
○ 1000 page requests
○ 5 concurrent threads
○ Every user requesting the page 200 times
● Page contains Multiple Images, Content, Comments