Gollum
05-27-2003, 05:43 AM
Hi Guys,
I'm trying control the caching on ASP generated pages as a number of pages my app generates never change (in fact they are filled with javascript as this provides a neat way to bundle the js code with the application dll)
anyway, I have set the cachecontrol on the response (equivalent to going Response.CacheControl = "Public") but I am noticing that the server is handling these pages over and over even though the url for these pages is still the same.
It's as if these pages aren't being cached and the browser is going back to the server each time. I've tried with both IE and Netscape with the same results.
Strangely, when I look in the Temporary Internet Files folder (for IE) the pages are there.
Am I missing something? How can I have these pages cached?
I'm trying control the caching on ASP generated pages as a number of pages my app generates never change (in fact they are filled with javascript as this provides a neat way to bundle the js code with the application dll)
anyway, I have set the cachecontrol on the response (equivalent to going Response.CacheControl = "Public") but I am noticing that the server is handling these pages over and over even though the url for these pages is still the same.
It's as if these pages aren't being cached and the browser is going back to the server each time. I've tried with both IE and Netscape with the same results.
Strangely, when I look in the Temporary Internet Files folder (for IE) the pages are there.
Am I missing something? How can I have these pages cached?