Thanks Göran.
I don't believe the problem is strictly browser related (although it
logically should). As mentioned above, a number of apps hosted on my
machine do cache stylesheet files in browser memory. No subsequent
css requests are issued when swapping pages. The problem is: I can't
see why it works in certain cases and fails in others..
I've narrowed the problem to css files. If a "good" ie cacheable css
file is imported in the App_Themes subfolder, the css file is cached.
As soon as I insert new css statements, the file becomes "bad" ie. non-
cacheable. This drives me nuts! I tried flushing the buffer cache,
changing names, etc. to no avail.
In php land, there seems to be a way to selectively enforce component
cacheability. For instance, I gleaned the following snippet from the
webmasterworld. php forum:
http://www.webmasterworld.com/apache/3659750.htm
This snippet apparently fully enforces cacheability of all css, gif,
png, etc. components. How can this be reproduced in asp.net? TIA for
any suggestions.
# Enable mod_expires
ExpiresActive on
# For media, css, pdf, and external Jscript files
<FilesMatch "\.(ico¦pdf¦flv¦jpe?g¦png¦gif¦js¦css¦swf)$">
# set 30-day cacheable (longer is almost useless)
ExpiresDefault A2592000
# Don't set any caching restrictions
Header unset Cache-Control
</FilesMatch>