How to stop caching in Proxy Server

Joined
Jul 16, 2007
Messages
2
Reaction score
0
Can u plz help me in the scenerio which is some what the same .. .as its addressing here

sccenario:

we have a proxy server which is assigned by a fixed ip and user access it through proxy ...

we have deployed our application over there, which is built in ASP.NET 2.0 and we have also used seperate javascript files (*.js) and proxy server as usual caches the page and javascript files

when ever we have some changes we deploy our application again at the proxy server

but when we run the application it uses the same cached javascript files and dont use the new one which we have deployed

We are using Squid 2.5 as our proxy server

We have done this in our Page.

protected override void OnLoad(EventArgs e)

{

Response.Cache.SetNoStore();

Response.Cache.SetCacheability(HttpCacheability.No Cache);

Response.Cache.SetExpires(DateTime.Now);

base.OnLoad(e);

}

But this solves the problem only on LAN.

For fixed IP, caching problem persists.

can you help me in this regard that what should i do ???

wat should i do inorder to stop proxy server to cache javascript files
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,982
Messages
2,570,185
Members
46,736
Latest member
AdolphBig6

Latest Threads

Top