Avoiding cookies while requesting static content
Posted
by Abdel Olakara
on Stack Overflow
See other posts from Stack Overflow
or by Abdel Olakara
Published on 2010-05-31T12:25:08Z
Indexed on
2010/05/31
12:32 UTC
Read the original article
Hit count: 320
I just did an audit of one of my web application page (built using ASP.Net and running on development server) using Google chrome's developer tool. One particular warning caught my eyes:
Serve static content from a cookieless domain (5)!
Here is my screen shot (http://yfrog.com/7eauditresultp) as well. I would like to know is it possible to avoid cookies for these kind of requests. I see that there is no cookie requests for javascript files as well. I it possible to avoid cookies in the header for these files as well? and why didn't the browser attach cookies for javascript files and attach for CSS and image?
Any thoughts and suggestions are welcome
© Stack Overflow or respective owner