Forum OpenACS Q&A: Serious Problem with Caching

Collapse
Posted by Samer Abukhait on
Guys,
am having a real serious problem with ACS.

My clients getting cached pages from their proxies for other logged
in users!!
am not using openACS, am using ACS
am sure somebody here can point me what to do :/

Thanks.

Collapse
Posted by Don Baccus on
The key word here is "proxy".  There's really nothing a webserver can do to thwart evil misconfigured proxy servers ...
Collapse
Posted by Jade Rubick on
Samer, I had the same problem with ACS 3.4. If the
arsdigita.com bboard was up, I would recommend going to that
page, and searching for proxy and my name. However, their
bboard is temporarily down. I don't really remember what I did,
but there are a few options.

One is you can use some sort of pragma's or something to tell
the proxy server to not cache the page. But I think there were a
few other options as well... it been so long, I don't remember.
Sorry!

Collapse
Posted by Brian Fenton on
This might be off the mark, but I've seen similar behaviour when the cookies on the client machine get corrupted. Try closing all browser windows, and deleting all cookies (or just the ACS cookies if you know them, but sometimes they disguise themselves!). Then re-open your browser.
Collapse
Posted by russ m on
While there is nothing you can do in the face of misconfigured caching proxies, you can always provide proxies with some guidance on what you do/don't consider cacheable. There's a rather long thread at https://openacs.org/bboard/q-and-a-fetch-msg.tcl?msg_i d=0003PI covering this, but the short version is

"try putting


ns_set put [ns_conn outputheaders] "Cache-Control" "private"
ns_set put [ns_conn outputheaders] "Pragma" "no-cache"
in your master template"