Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cache problem

Status
Not open for further replies.

unicorn11

Programmer
Jun 10, 2000
392
IN
Hi

i have this serious proble, with the cache on a site i did
the asp files are getting stored in the cache and so if i the update a asp file i cannot view the file right away
i have to wait for some time till the cache is cleared that is after the site gets 500 hits

some person told me that if u use frontpage ext it will be solved so i tried that but it did not help

i have used some cache preventing line that was suggested by a site but again that did not help

here is the lines

Code:
<%@ Language=VBScript %>
<%
Response.Expires = 60
Response.Expiresabsolute = Now() - 1
Response.AddHeader &quot;pragma&quot;,&quot;no-cache&quot;
Response.AddHeader &quot;cache-control&quot;,&quot;private&quot;
Response.CacheControl = &quot;no-cache&quot;
%>

thanks for any help
regards ::) Unicorn11
abhishek@tripmedia.com

[red]Life is a stream who's source is hidden[red]
 
in IIS go to properties of your virtual directory and then configuration.second tab has a property ISAPI applications or something.you can try unchecking that.that worked for me.
but if you update your web again then check it and uncheck it again.
hope this helps
thx
 
but my iis server is not accessable it is in the usa and we are placed in india

regards Unicorn11
abhishek@tripmedia.com

[red]Life is a stream who's source is hidden[red]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top