F
Frankie
Using ASP.NET 1.1 and IIS 6... what is the effect of enabling Content
Expiration -- Expire Immediately?
Does it cause the files in the virtual directory to be served on every
single browser request even if the files do not change?
The reason I ask is that I was having trouble with a css file not getting
refreshed in the browser after the css file was updated on the server. In
testing I found that I could manually update the css file on the server (via
Notepad) and the browser would not get the updated CSS file. And yes, I
purged the cache, deleted local files, rebooted the local machine, tested in
a variety of browsers, etc. New browser sessions would continue to receive
the old version of the css file. The only thing I could reliably do to cause
the newly saved css file to be served was to recycle the App pool . The
hosting provider then enabled Content Expiration -- Expire Immediately and
that seems to solve the problem. My concern is that the css file(s) will now
get served up unnecessarily (i.e., even when they haven't been updated).
Thoughts? Suggestions?
Thanks!
Expiration -- Expire Immediately?
Does it cause the files in the virtual directory to be served on every
single browser request even if the files do not change?
The reason I ask is that I was having trouble with a css file not getting
refreshed in the browser after the css file was updated on the server. In
testing I found that I could manually update the css file on the server (via
Notepad) and the browser would not get the updated CSS file. And yes, I
purged the cache, deleted local files, rebooted the local machine, tested in
a variety of browsers, etc. New browser sessions would continue to receive
the old version of the css file. The only thing I could reliably do to cause
the newly saved css file to be served was to recycle the App pool . The
hosting provider then enabled Content Expiration -- Expire Immediately and
that seems to solve the problem. My concern is that the css file(s) will now
get served up unnecessarily (i.e., even when they haven't been updated).
Thoughts? Suggestions?
Thanks!