It caches by default. To test this, put some arbitrary obscure string like "I am not a number, I am a free man" inside your js file, clear the browser cache, load the page once and you should find this in the cache once. You'll have to use a find utility that searches on strings. Then load the page a seond time and you should still only have one file in your cache with that string.
Bill Keese wrote:


<script language="Javascript1.1" src="staticJavascript.jsp">



How do I tell the browser to cache staticJavascript.jsp rather than downloading it each time? I know the browser caches images by default, but I'm not sure whether or not it would cache files with a .jsp extension. Do I have to do the opposite of what is listed on this page: http://www.ajug.org/archive/ajug-members/10404/msg00041.html ?


Also, is there any way to confirm what the browser is caching and what it is reloading (other than using a stopwatch)?

Bill

Matt Bathje wrote:



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to