cancel
Showing results for 
Search instead for 
Did you mean: 

JavaScript Caching (or not, as the case may be)

Community Veteran
Posts: 6,111
Thanks: 1
Registered: 05-04-2007

JavaScript Caching (or not, as the case may be)

Just a quick question: if someone goes to a webpage, which contains a JavaScript file, then goes to another webpage that uses the same JavaScript file, will Internet Explorer (or whatever browser the person is using) insist on downloading the .js file again, or will it use the one in the Temporary Internet Files?

Thanks in advance,
Thomas
2 REPLIES
csogilvie
Grafter
Posts: 5,852
Registered: 04-04-2007

JavaScript Caching (or not, as the case may be)

It should send a request with the last modified time stamp and if the server supports it, it should send a 200 OK or a 304 Not Modified depending.

If you use Firebrid or Mozilla, theres a Live HTTP Headers extension that will reveal the headers.
Community Veteran
Posts: 6,111
Thanks: 1
Registered: 05-04-2007

JavaScript Caching (or not, as the case may be)

Thanks - very helpful!

Thomas