[thelist] ASP to populate .js file?

Maximillian Schwanekamp anaxamaxan at neptunewebworks.com
Wed Apr 7 18:04:19 CDT 2004


>how do you go about getting the browser to cache a
>dynamically created file?

A dynamic page gets cached same as any other, assuming the URI remains the
same (e.g. no query string changes).  If necessary, the script can feed the
browser an expiration header e.g. using Response.AddHeader in ASP/VBScript
or header() in PHP, and/or meta tags in the HTML output.

Maximillian Von Schwanekamp
NeptuneWebworks.com
voice: 541-302-1438
fax: 208-730-6504






More information about the thelist mailing list