[thelist] ASP to populate .js file?
Ken Schaefer
ken at adOpenStatic.com
Wed Apr 7 17:25:20 CDT 2004
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: "Stephen Caudill" <SCaudill at municode.com>
Subject: RE: [thelist] ASP to populate .js file?
:: The alternatives seem to be repeatedly accessing the
:: server file system, or having an ASP script to feed the
:: browser JS as a cacheable external file. My vote is for
:: the latter - *with* the recommendation that said script
:: should not be integral to site functionality.
:
: I agree. btw, how do you go about getting the browser to cache a
: dynamically created file?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The browser has no knowledge of whether a file is static or dynamically
created. It just receives something from the server. So, it would be no
different to caching a static .js file.
Cheers
Ken
More information about the thelist
mailing list