RE: cache-control problem

2000-12-05 Thread Knudsen, Joe
I see these couple lines in the Orion Primer. // Make sure this page will not be cached by the browser response.addHeader("Pragma", "no-cache"); response.addHeader("Cache-Control", "no-store"); I'm not sure if this is what you want. Thanks, Joe Knudsen -Original Message- From:

RE: cache-control problem

2000-12-05 Thread Matt Krevs
The following works well for me response.setHeader("CACHE-CONTROL", "max-age=0, must-revalidate"); Basically it seems to use the cache for images/javascript etc (which is good) and re-requests a URL from the webserver when the user requests it again or hits the back/forward buttons