file
If you use a server-side include that creates a script tag like the
following, only a change in the "clock.js" file would cause the browser to
re-download it:
<script type="text/javascript" src="clock.js"></script>
The reason is that the reference to the.js file is not changed when the page
it is in changes. It works just like an image tag. Putting an image tag into
a page that changes doesn't cause the browser to re-download the image with
every request. It only re-downloads the page.
--
HTH,
Kevin Spencer
Microsoft MVP
.Net Developer
http://www.takempis.com
Complex things are made up of
lots of simple things.
file