- fix [ 1237406 ] HTTP Proxy caches results

This commit is contained in:
Matthew Wilson 2005-12-12 07:27:49 +00:00
parent 2b20ee661e
commit d8cea7a566
2 changed files with 5 additions and 3 deletions

View file

@ -8,6 +8,7 @@
- fix [ 1328728 ] Export exports root page n times
- fix [ 1338306 ] adminConsoleHelpIcon displayed at wrong position
- fix [ 1216810 ] anonymous registration errors persist (fixed for real!)
- fix [ 1237406 ] HTTP Proxy caches results
- fix
[ 1365822 ] makePrintable does not work in Collaboration System
- fix [ 1376621 ] dateSubmitted not updated on posts

View file

@ -326,9 +326,10 @@ sub view {
} else {
$ttl = $session{page}{cacheTimeout};
}
$cachedContent->set($var{content},$ttl);
$cachedHeader->set($var{header},$ttl);
unless ($self->get("cacheTimeoutVisitor") <= 1 && $self->get("cacheTimeout") <= 1) {
$cachedContent->set($var{content},$ttl);
$cachedHeader->set($var{header},$ttl);
}
}
if($var{header} ne "text/html") {