PDA

View Full Version : flushing IIS Cache


meissnersdc
06-14-2004, 10:42 AM
When I upload a new aspx file, is there a easy way to
to get the server to start using the new version of the file immediately?

There seems to be some sort of caching issue where it
will continue to use the old version for a while. Good thing in
normal performance, but a pain when in development.

F5 in the browser does not seem to flush the server....

Maybe a nocache attribute in the source....

Karl


Computer Consultant - www.meissnersd.com

bruce
06-14-2004, 12:51 PM
I do not think asp.net caches the page. It should detect the time change on the file and flush the compiled copy in the cache once you update the file.

Updating (or renaming) the web.config file will cause the asp.net application to reload.

[b]quote:Originally posted by meissnersdc

When I upload a new aspx file, is there a easy way to
to get the server to start using the new version of the file immediately?

There seems to be some sort of caching issue where it
will continue to use the old version for a while. Good thing in
normal performance, but a pain when in development.

F5 in the browser does not seem to flush the server....

Maybe a nocache attribute in the source....

Karl


Computer Consultant - www.meissnersd.com
</blockquote id="quote"></font id="quote">