For Programmers: Free Programming Magazines  


Home > Archive > ASP > February 2006 > IIS caches asp files for too long and delays testing









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author IIS caches asp files for too long and delays testing
Bob

2006-02-25, 6:55 pm

Running IIS 6

IIS seems to suffer from the malady I had with IIS5 ... it caches the
asp files. So when I make a change, save the file to the IIS inetpub
directory, then test, it runs the old file. If I wait a little while
then I can test the new file.

I thought this issue had gone away with IIS 6 but it seems to still be
there. Is there a fix for IIS6? For IIS5 I remember hacking the
registry but I don't recall what... and I seem to recall marginal
success fixing the actual problem.

Thanks,

MikeR

2006-02-26, 6:55 pm



Bob wrote:
> Running IIS 6
>
> IIS seems to suffer from the malady I had with IIS5 ... it caches the
> asp files. So when I make a change, save the file to the IIS inetpub
> directory, then test, it runs the old file. If I wait a little while
> then I can test the new file.
>
> I thought this issue had gone away with IIS 6 but it seems to still be
> there. Is there a fix for IIS6? For IIS5 I remember hacking the
> registry but I don't recall what... and I seem to recall marginal
> success fixing the actual problem.
>
> Thanks,
>

Switch to Firefox (or at least use it for testing this scenario).
MikeR
Hal Rosser

2006-02-26, 6:55 pm


"Bob" <uctraing@ultranet.com> wrote in message
news:q301021ffq8051sjfvevc85gj9uohhptrq@
4ax.com...
> Running IIS 6
>
> IIS seems to suffer from the malady I had with IIS5 ... it caches the
> asp files. So when I make a change, save the file to the IIS inetpub
> directory, then test, it runs the old file. If I wait a little while
> then I can test the new file.
>
> I thought this issue had gone away with IIS 6 but it seems to still be
> there. Is there a fix for IIS6? For IIS5 I remember hacking the
> registry but I don't recall what... and I seem to recall marginal
> success fixing the actual problem.
>


Try unchecking the box that says "Cache ISAPI applications" in IIS
Then you can hit refresh in IE and get the new version.
Keep it unchecked while you're working on the code, then check it when
finished.
In IIS - click home directory - then configuration ...
HTH


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com