You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Images, CSS stylesheets, and JavaScript files should be hosted on cookie-free domains.
This prevents browsers from sending cookies for each resource when it's not needed.
Although transferred with each HTTP request, cookies are useless for static content, as they are used as a link between
user browsers and distant application server through the identifiers contained in the text file.
It is therefore preferable to store this type of content on a specific domain name such as static.mydomain.com.
Example
Web leaders use a separate domain to serve static resources that do not require cookies. Yahoo!, for example, uses the yimg.com domain, YouTube uses ytimg.com, and Amazon uses images-amazon.com.