struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joao Batistella <>
Subject The browser cache JS resources?
Date Tue, 16 Mar 2004 19:32:18 GMT

I have a doubt. I'm thinking about including in all my pages the same
javascrip file with the code:
<script language="Javascript1.1" src="js/staticJavascript.jsp"/></script>

This is because I want this file with all javascript code (or including
code) in all pages, even the page doesn't make use of it.

Is this bad? My doubt is if the browser will always request the JS file,
every request or put it in cache.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message