Archana Nagarkar I 9 Min Read I August 12, 2020
1. Quick read
When you check your site in the speed test tool generally you see the recommendation or warnings in GTmetrix tool ‘Use- Cookie free domain’ . Aren’t you aware about this term? You should have many more questions on this…like why should you use cookie-free domains? How to use cookie- free domain? etc…Don’t worry I will explain in detail in this blog so that you can be aware about this term and you get the importance of this in your shopify site speed optimization.
3. How cookie free domain work:
When the users requests static images from the web server and sends cookies with the requests, the server ignores the cookie and these cookies are unnecessary traffic and considered a performance hit since they have no benefit but can make HTTP requests and take longer to complete. A solution is to use a subdomain to host only the static content or your website. Doing this way subdomain will become cookie free since your cookies are set on the main website.
There are some advantages using Cookie-free domain:
- Less network traffic
- Decreased loading times on static content