4 Steps To Reduce Website Load Speed Using Cookieless Subdomain

33,535 views
33,896 views

Published on

Website loading speed plays a huge role when it comes to website ranking and traffic. One of the best way is to use cookieless subdomain to serve static content to the website. This slide will show you how you can achieve that in just four easy steps.

Link to original post: http://www.reginaldchan.net/serving-static-content-from-cookieless-subdomain/

My website: http://www.reginaldchan.net

Twitter: @Reginald_Chan

Official Facebook page: http://www.facebook.com/bloggingmoments

1 Comment
2 Likes
Statistics
Notes
  • I tested this on Google Page Speed, GTmetrix and Pingdom and all shot back with no cookieless domain being used.
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
No Downloads
Views
Total views
33,535
On SlideShare
0
From Embeds
0
Number of Embeds
18
Actions
Shares
0
Downloads
19
Comments
1
Likes
2
Embeds 0
No embeds

No notes for slide

4 Steps To Reduce Website Load Speed Using Cookieless Subdomain

  1. 1. How To Boost Website Loading Speed Lesson 1
  2. 2. Problem Cookies on static content will increase website load time. Slower load time = angry readers = bye bye traffic
  3. 3. Solution Serve static content to main website using cookieless subdomain
  4. 4. Advantages • Website loads faster • More love from search engines • Reader’s feel happier (due to faster loading speed) • Free of charge!
  5. 5. It only takes you 4 … yes, four easy steps to make it happen!
  6. 6. Step 1 Head over to your cPanel and create a subdomain Note: Subdomain can be of any name Examples 1. cdn.reginaldchan.net 2. static.reginaldchan.net
  7. 7. Step 2 Make sure the subdomain is pointing to your root directory (should be /public_html in most cases) Like the below:
  8. 8. Step 3 Head over to Simple or Advanced DNS Editor in your cPanel • Set Name as your CDN subdomain • CNAME as your main website Like the below:
  9. 9. Step 4 Edit wp.config and add this: If you have Google Analytic, add this near the <body>
  10. 10. Congratulation! You’re all set! … … … Hold On!
  11. 11. Important Note If you are using CloudFlare or any type of Content Network Delivery (CDN), please get your hosting and CDN provider to verify on the CNAME. For example, using CloudFlare will give you an error when you are following the above guide in changing the CNAME. Basically, the hosting or CDN provider will give you a new A figure to place in.
  12. 12. Like it? Find the original article here: http://www.reginaldchan.net/serving -static-content-from-cookieless- subdomain/
  13. 13. Thank you for watching & hope you liked it! Please share if you do 

×