Store Cacheable Files in a Different Domain
It's always a good idea to put static contents in a different domain. First of all, the browser can open other two concurrent connections to download the static files. Another benefit is that you don't need to send the cookies to the static files. When you put the static files on the same domain as your Web application, browser sends all the ASP.NET cookies and all other cookies that your Web application is producing. This makes the request headers unnecessarily large and waste bandwidth. You don't need to send these cookies to access the static files. So, if you put the static files in a different domain, those cookies will not be sent. For example, put your static files in
www.staticcontent.com domain while your website is running on
www.dropthings.com. The other domain does not need to be a completely different Web site. It can just be an alias and share the same Web application path.
Partager