Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Browser related issue  RSS feed

Rahul Mahindrakar
Ranch Hand
Posts: 1869
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I was checking up caching of images in the browser when I noticed the following

#ResultProtocolHostURLBodyCachingContent-TypeUser-defined text/html 860private text/html; charset=UTF-8 072Expires: Mon, 18 Jan 2038 15:49:47 GMTimage/png 862private text/html; charset=UTF-8 Mon, 18 Jan 2038 15:51:57 GMT

The issue is that when I clear my IE cache and go to then the image logo_plain.png is downloaded as shown in the body column.

The second time I access then the image is not downloaded however a http request is sent and the response 304 is received.

Now my question is

According to the document over here section "Cache-Related Response Headers"

"As you can see, we've improved performance by adding an Expires header, since no conditional HTTP request is made during Session #2."

It says that the browser should not make a conditional Get request if the Expires exist. However in the above case it does so. Does it mean a bug somewhere ( in IE) or is there something else that I did not understand.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!