dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
548f98f
)
Printable pages not cacheable, as suggested by... gwicke?
author
Tim Starling
<tstarling@users.mediawiki.org>
Wed, 4 Feb 2004 00:45:48 +0000
(
00:45
+0000)
committer
Tim Starling
<tstarling@users.mediawiki.org>
Wed, 4 Feb 2004 00:45:48 +0000
(
00:45
+0000)
includes/OutputPage.php
patch
|
blob
|
history
diff --git
a/includes/OutputPage.php
b/includes/OutputPage.php
index
e14ac1a
..
157742c
100644
(file)
--- a/
includes/OutputPage.php
+++ b/
includes/OutputPage.php
@@
-251,7
+251,9
@@
class OutputPage {
# FIXME: This header may cause trouble with some versions of Internet Explorer
header( "Vary: Accept-Encoding, Cookie" );
if( $this->mLastModified != "" ) {
- if( $wgUseSquid && ! isset( $_COOKIE[ini_get( "session.name") ] ) ) {
+ if( $wgUseSquid && ! isset( $_COOKIE[ini_get( "session.name") ] ) &&
+ ! $this->isPrintable() )
+ {
if ( $wgUseESI ) {
# We'll purge the proxy cache explicitly, but require end user agents
# to revalidate against the proxy on each visit.