If you look at the documentation for GitHub pages, it has a pretty strong reccommendation to use a www
domain for your custom domain site hosted on GitHub Pages.
From here: https://help.github.com/en/articles/about-supported-custom-domains#www-subdomains
A www subdomain is the most commonly used type of subdomain, in which the www stands for World Wide Web. For example, www.example.com is a www subdomain because it contains the subdomain part www.
We strongly recommend that you use a www subdomain for these reasons:
- It gives your GitHub Pages site the benefit of our Content Delivery Network.
- It is more stable because it is not affected by changes to the IP addresses of GitHub's servers.
- Pages will load significantly faster because Denial of Service attack protection can be implemented more efficiently.
Does this mean if I do not use a www
domain I will not get the benefits of a CDN or DDOS Attack Protection?
What is the technical reason why there is a difference between a www
and non-www
domain here?