Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
2nd February 2004, 13:35 | #1 | Link |
Registered User
Join Date: Dec 2003
Posts: 57
|
Proxy servers and the main site
@doom9
Proxy servers don't seem to be handling the main site very well - I get served stale content that is usually 10-30 days old - even when hitting the refresh button. (The forums work fine). I haven't examined the headers that are served off the main site, but I usually fix this by placing a "paragma nocache" and/or "content expires" in the HTTP header to keep proxies from caching the pages. |
2nd February 2004, 13:40 | #2 | Link | |
clueless n00b
Join Date: Oct 2001
Location: somewhere over the rainbow
Posts: 10,579
|
Quote:
__________________
For the web's most comprehensive collection of DVD backup guides go to www.doom9.org |
|
2nd February 2004, 17:53 | #4 | Link |
Registered User
Join Date: Dec 2003
Posts: 57
|
...and both Apache and PHP have a way to automatically add them to the served document's header.
The line item CacheNegotiatedDocs in the httpd.conf file should be commented, thus add the Pragma: no-cache to the HTTP header. PHP by default also adds data to the header to prevent proxy caching, which is probably why the forums works. If this value is presently commented, I'll stick an HTTP sniffer on my network and see what the headers are showing. |
Thread Tools | Search this Thread |
Display Modes | |
|
|