[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] Trouble disabling ASP script caching (RAQ4) RESOLVED



> I have a client who has several asp pages that also include 
> server side include tags within each page. The client is 
> complaining that whenever he modifies or even replaces the 
> target file that a server side include tag references, the 
> output remains the same as the original file. A restart of 
> the ASP server takes care of the problem ... until, that is, 
> my client updates the target file again. 
> 
> I took a look at the ASP properties and noticed that I could 
> disable ASP script caching. Indeed I disabled it and 
> restarted the ASP server. However, upon monitoring the ASP 
> server, it continues to cache scripts. Any ideas out there 
> why this is or, better yet, does anyone know how to disable 
> script caching an alternative way? 

After further research, I have found Chilisoft documentation that explains the issue, although it has nothing to do with the script caching setting. Here's a snippet of the doc...

<snip>

Often after you edit an "included" file, the change does not show up in your ASP page. The ASP Server only picks up changes in an included file if it recompiles the page that contains the #include directive. You can force a recompile of this page by "touching" the file or by making a trivial change that updates the timestamp on the file.

</snip>

This is quite an inconvenience but apparently something we must live with.

More info is available at http://developer.chilisoft.com/caspdoc/362docs/html/using_server_side_includes.htm

Thanks everyone!

Landon