Nowadays we often hear people talk about CDNs. But there is another, less known term—domain sharding—which is confused with CDN very often, even though the two technologies are completely different. What is Domain Sharding ?
Too often we read tutorials about setting up a CDN where in fact domain sharding is described.
History
Traditionally, browsers limit the number of simultaneous requests to a single domain. That restriction has been defined in the specifications of the HTTP/1.1 protocol: the goal was to not overload the query servers.
A website with many HTTP requests (images, CSS files, JavaScript, etc.) thus was penalised by that limit.
Definition
Domain sharding has been set up to circumvent the allocation of static files (images, CSS, JS) on multiple subdomains. That way it is possible to multiply the number of simultaneous requests by the number of subdomains.
Using domain sharding gives us the possibility to load content on cookie-free subdomains.
However, this solution is not flawless. In fact, each subdomain adds additional DNS resolution which usually is significant in terms of performance. A DNS resolution is the correlation between the URL and the IP address associated #wordpress #smallbusiness #entrepreneur
https://managewp.org/articles/11448/difference-between-cdn-and-domain-sharding
No comments:
Post a Comment