Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Wikipedia: Mediawiki

Caching Issues

 

 

Wikipedia mediawiki RSS feed   Index | Next | Previous | View Threaded


ussray_00 at yahoo

May 1, 2008, 1:22 PM

Post #1 of 11 (420 views)
Permalink
Caching Issues

Hello All,

I have a little dilemma here. Hopefully someone can
lend me a hand.

I have a cluster of front end mediawiki servers with a
backend NFS and a MySQL server. In front of those I
have a caching device.

My problem is this, the caching device caches the IP
and username of people that are anonymous or logged
in. If someone logs in as "joe" and browses around
and another user name "jack" browses to the same page,
"jack" will notice his name changed to "joe".

I am not sure how this is happening... But when I
turn off caching on the device the issue goes away and
never comes back.

Is there some special character or string I need to
exclude from the cache?

Thanks,

Matt


____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l[at]lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


ussray_00 at yahoo

May 1, 2008, 1:25 PM

Post #2 of 11 (404 views)
Permalink
Re: Caching Issues [In reply to]

WOW!

Where did that tag come from...

My name is Russ not Matt....

Thanks in advance for your help.

Russ

--- Russ Lavoy <ussray_00[at]yahoo.com> wrote:

> Hello All,
>
> I have a little dilemma here. Hopefully someone can
> lend me a hand.
>
> I have a cluster of front end mediawiki servers with
> a
> backend NFS and a MySQL server. In front of those I
> have a caching device.
>
> My problem is this, the caching device caches the IP
> and username of people that are anonymous or logged
> in. If someone logs in as "joe" and browses around
> and another user name "jack" browses to the same
> page,
> "jack" will notice his name changed to "joe".
>
> I am not sure how this is happening... But when I
> turn off caching on the device the issue goes away
> and
> never comes back.
>
> Is there some special character or string I need to
> exclude from the cache?
>
> Thanks,
>
> Matt
>
>
>
>
____________________________________________________________________________________
> Be a better friend, newshound, and
> know-it-all with Yahoo! Mobile. Try it now.
>
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l[at]lists.wikimedia.org
>
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>



____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l[at]lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


dan_the_man at telus

May 1, 2008, 2:11 PM

Post #3 of 11 (406 views)
Permalink
Re: Caching Issues [In reply to]

The first thing to do would be to disable caching for users. You can't
do a proper page cache when someone is logged in.
And for the IP's set $wgShowIPinHeader to false to remove the IP from
the header.

~Daniel Friesen(Dantman) of:
-The Gaiapedia (http://gaia.wikia.com)
-Wikia ACG on Wikia.com (http://wikia.com/wiki/Wikia_ACG)
-and Wiki-Tools.com (http://wiki-tools.com)

Russ Lavoy wrote:
> WOW!
>
> Where did that tag come from...
>
> My name is Russ not Matt....
>
> Thanks in advance for your help.
>
> Russ
>
> --- Russ Lavoy <ussray_00[at]yahoo.com> wrote:
>
>
>> Hello All,
>>
>> I have a little dilemma here. Hopefully someone can
>> lend me a hand.
>>
>> I have a cluster of front end mediawiki servers with
>> a
>> backend NFS and a MySQL server. In front of those I
>> have a caching device.
>>
>> My problem is this, the caching device caches the IP
>> and username of people that are anonymous or logged
>> in. If someone logs in as "joe" and browses around
>> and another user name "jack" browses to the same
>> page,
>> "jack" will notice his name changed to "joe".
>>
>> I am not sure how this is happening... But when I
>> turn off caching on the device the issue goes away
>> and
>> never comes back.
>>
>> Is there some special character or string I need to
>> exclude from the cache?
>>
>> Thanks,
>>
>> Matt
>>
>>
>>
>>
>>
> ____________________________________________________________________________________
>
>> Be a better friend, newshound, and
>> know-it-all with Yahoo! Mobile. Try it now.
>>
>>
> http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
>
>> _______________________________________________
>> MediaWiki-l mailing list
>> MediaWiki-l[at]lists.wikimedia.org
>>
>>
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
>
>
>
> ____________________________________________________________________________________
> Be a better friend, newshound, and
> know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l[at]lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
>
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l[at]lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


dan_the_man at telus

May 1, 2008, 2:12 PM

Post #4 of 11 (404 views)
Permalink
Re: Caching Issues [In reply to]

The first thing to do would be to disable caching for users. You can't
do a proper page cache when someone is logged in.
And for the IP's set $wgShowIPinHeader to false to remove the IP from
the header.

~Daniel Friesen(Dantman) of:
-The Gaiapedia (http://gaia.wikia.com)
-Wikia ACG on Wikia.com (http://wikia.com/wiki/Wikia_ACG)
-and Wiki-Tools.com (http://wiki-tools.com)

Russ Lavoy wrote:
> WOW!
>
> Where did that tag come from...
>
> My name is Russ not Matt....
>
> Thanks in advance for your help.
>
> Russ
>
> --- Russ Lavoy <ussray_00[at]yahoo.com> wrote:
>
>
>> Hello All,
>>
>> I have a little dilemma here. Hopefully someone can
>> lend me a hand.
>>
>> I have a cluster of front end mediawiki servers with
>> a
>> backend NFS and a MySQL server. In front of those I
>> have a caching device.
>>
>> My problem is this, the caching device caches the IP
>> and username of people that are anonymous or logged
>> in. If someone logs in as "joe" and browses around
>> and another user name "jack" browses to the same
>> page,
>> "jack" will notice his name changed to "joe".
>>
>> I am not sure how this is happening... But when I
>> turn off caching on the device the issue goes away
>> and
>> never comes back.
>>
>> Is there some special character or string I need to
>> exclude from the cache?
>>
>> Thanks,
>>
>> Matt
>>
>>
>>
>>
>>
> ____________________________________________________________________________________
>
>> Be a better friend, newshound, and
>> know-it-all with Yahoo! Mobile. Try it now.
>>
>>
> http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
>
>> _______________________________________________
>> MediaWiki-l mailing list
>> MediaWiki-l[at]lists.wikimedia.org
>>
>>
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
>
>
>
> ____________________________________________________________________________________
> Be a better friend, newshound, and
> know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l[at]lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
>
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l[at]lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


Platonides at gmail

May 1, 2008, 3:25 PM

Post #5 of 11 (406 views)
Permalink
Re: Caching Issues [In reply to]

Russ Lavoy wrote:
>> My problem is this, the caching device caches the IP
>> and username of people that are anonymous or logged
>> in. If someone logs in as "joe" and browses around
>> and another user name "jack" browses to the same
>> page,
>> "jack" will notice his name changed to "joe".
>>
>> I am not sure how this is happening... But when I
>> turn off caching on the device the issue goes away
>> and
>> never comes back.
>>
>> Is there some special character or string I need to
>> exclude from the cache?
>>
>> Thanks,
>>
>> Matt

Your cache device needs to follow Vary: headers. Probably it has some
option to do so.


_______________________________________________
MediaWiki-l mailing list
MediaWiki-l[at]lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


ussray_00 at yahoo

May 1, 2008, 6:31 PM

Post #6 of 11 (405 views)
Permalink
Re: Caching Issues [In reply to]

If my caching device follows "Vary:" headers it will
cache everything but the usernames and such?

Just want to clarify.

Thanks,

Russ
--- Platonides <Platonides[at]gmail.com> wrote:

> Russ Lavoy wrote:
> >> My problem is this, the caching device caches the
> IP
> >> and username of people that are anonymous or
> logged
> >> in. If someone logs in as "joe" and browses
> around
> >> and another user name "jack" browses to the same
> >> page,
> >> "jack" will notice his name changed to "joe".
> >>
> >> I am not sure how this is happening... But when
> I
> >> turn off caching on the device the issue goes
> away
> >> and
> >> never comes back.
> >>
> >> Is there some special character or string I need
> to
> >> exclude from the cache?
> >>
> >> Thanks,
> >>
> >> Matt
>
> Your cache device needs to follow Vary: headers.
> Probably it has some
> option to do so.
>
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l[at]lists.wikimedia.org
>
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>



____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l[at]lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


ussray_00 at yahoo

May 2, 2008, 8:23 AM

Post #7 of 11 (384 views)
Permalink
Re: Caching Issues [In reply to]

So the vary header is the best solution for this
issue?

Thanks,

Russ

--- Russ Lavoy <ussray_00[at]yahoo.com> wrote:

> If my caching device follows "Vary:" headers it will
> cache everything but the usernames and such?
>
> Just want to clarify.
>
> Thanks,
>
> Russ
> --- Platonides <Platonides[at]gmail.com> wrote:
>
> > Russ Lavoy wrote:
> > >> My problem is this, the caching device caches
> the
> > IP
> > >> and username of people that are anonymous or
> > logged
> > >> in. If someone logs in as "joe" and browses
> > around
> > >> and another user name "jack" browses to the
> same
> > >> page,
> > >> "jack" will notice his name changed to "joe".
> > >>
> > >> I am not sure how this is happening... But
> when
> > I
> > >> turn off caching on the device the issue goes
> > away
> > >> and
> > >> never comes back.
> > >>
> > >> Is there some special character or string I
> need
> > to
> > >> exclude from the cache?
> > >>
> > >> Thanks,
> > >>
> > >> Matt
> >
> > Your cache device needs to follow Vary: headers.
> > Probably it has some
> > option to do so.
> >
> >
> > _______________________________________________
> > MediaWiki-l mailing list
> > MediaWiki-l[at]lists.wikimedia.org
> >
>
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
> >
>
>
>
>
>
____________________________________________________________________________________
> Be a better friend, newshound, and
> know-it-all with Yahoo! Mobile. Try it now.
>
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l[at]lists.wikimedia.org
>
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>



____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l[at]lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


ussray_00 at yahoo

May 8, 2008, 6:51 AM

Post #8 of 11 (327 views)
Permalink
Re: Caching Issues [In reply to]

Disabling local caching will not help my issue since
the frontend caching device is the device causing the
issue. In fact, if I disable caching (memcached and
APC) the servers will take a major hit since they will
have to re-compile the pages on every load.

Thanks for the wgShowIPinHeader I am putting that one
in right now.

Are there any other suggestions for this caching
issue?

Following the Vary headers seems like what may need to
happen, but I am looking for multiple things to try
out.

Thanks for all they help...

Russ
--- DanTMan <dan_the_man[at]telus.net> wrote:

> The first thing to do would be to disable caching
> for users. You can't
> do a proper page cache when someone is logged in.
> And for the IP's set $wgShowIPinHeader to false to
> remove the IP from
> the header.
>
> ~Daniel Friesen(Dantman) of:
> -The Gaiapedia (http://gaia.wikia.com)
> -Wikia ACG on Wikia.com
> (http://wikia.com/wiki/Wikia_ACG)
> -and Wiki-Tools.com (http://wiki-tools.com)
>
> Russ Lavoy wrote:
> > WOW!
> >
> > Where did that tag come from...
> >
> > My name is Russ not Matt....
> >
> > Thanks in advance for your help.
> >
> > Russ
> >
> > --- Russ Lavoy <ussray_00[at]yahoo.com> wrote:
> >
> >
> >> Hello All,
> >>
> >> I have a little dilemma here. Hopefully someone
> can
> >> lend me a hand.
> >>
> >> I have a cluster of front end mediawiki servers
> with
> >> a
> >> backend NFS and a MySQL server. In front of
> those I
> >> have a caching device.
> >>
> >> My problem is this, the caching device caches the
> IP
> >> and username of people that are anonymous or
> logged
> >> in. If someone logs in as "joe" and browses
> around
> >> and another user name "jack" browses to the same
> >> page,
> >> "jack" will notice his name changed to "joe".
> >>
> >> I am not sure how this is happening... But when
> I
> >> turn off caching on the device the issue goes
> away
> >> and
> >> never comes back.
> >>
> >> Is there some special character or string I need
> to
> >> exclude from the cache?
> >>
> >> Thanks,
> >>
> >> Matt
> >>
> >>
> >>
> >>
> >>
> >
>
____________________________________________________________________________________
> >
> >> Be a better friend, newshound, and
> >> know-it-all with Yahoo! Mobile. Try it now.
> >>
> >>
> >
>
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
> >
> >> _______________________________________________
> >> MediaWiki-l mailing list
> >> MediaWiki-l[at]lists.wikimedia.org
> >>
> >>
> >
>
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
> >
> >
> >
> >
> >
>
____________________________________________________________________________________
> > Be a better friend, newshound, and
> > know-it-all with Yahoo! Mobile. Try it now.
>
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
> >
> > _______________________________________________
> > MediaWiki-l mailing list
> > MediaWiki-l[at]lists.wikimedia.org
> >
>
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
> >
> >
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l[at]lists.wikimedia.org
>
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>



____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l[at]lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


dan_the_man at telus

May 8, 2008, 7:10 AM

Post #9 of 11 (326 views)
Permalink
Re: Caching Issues [In reply to]

That's not what I'm talking about.
Disable caching on the frontend caching device when the user is logged in.
Your frontend cache is basically the same as Squid and Varnish. You have
to disable them for users because those kind of caches can never cache
user data right.
I believe Wikimedia does this by having the frontend cache check for the
user cookie.

~Daniel Friesen(Dantman) of:
-The Gaiapedia (http://gaia.wikia.com)
-Wikia ACG on Wikia.com (http://wikia.com/wiki/Wikia_ACG)
-and Wiki-Tools.com (http://wiki-tools.com)

Russ Lavoy wrote:
> Disabling local caching will not help my issue since
> the frontend caching device is the device causing the
> issue. In fact, if I disable caching (memcached and
> APC) the servers will take a major hit since they will
> have to re-compile the pages on every load.
>
> Thanks for the wgShowIPinHeader I am putting that one
> in right now.
>
> Are there any other suggestions for this caching
> issue?
>
> Following the Vary headers seems like what may need to
> happen, but I am looking for multiple things to try
> out.
>
> Thanks for all they help...
>
> Russ
> --- DanTMan <dan_the_man[at]telus.net> wrote:
>
>
>> The first thing to do would be to disable caching
>> for users. You can't
>> do a proper page cache when someone is logged in.
>> And for the IP's set $wgShowIPinHeader to false to
>> remove the IP from
>> the header.
>>
>> ~Daniel Friesen(Dantman) of:
>> -The Gaiapedia (http://gaia.wikia.com)
>> -Wikia ACG on Wikia.com
>> (http://wikia.com/wiki/Wikia_ACG)
>> -and Wiki-Tools.com (http://wiki-tools.com)
>>
>> Russ Lavoy wrote:
>>
>>> WOW!
>>>
>>> Where did that tag come from...
>>>
>>> My name is Russ not Matt....
>>>
>>> Thanks in advance for your help.
>>>
>>> Russ
>>>
>>> --- Russ Lavoy <ussray_00[at]yahoo.com> wrote:
>>>
>>>
>>>
>>>> Hello All,
>>>>
>>>> I have a little dilemma here. Hopefully someone
>>>>
>> can
>>
>>>> lend me a hand.
>>>>
>>>> I have a cluster of front end mediawiki servers
>>>>
>> with
>>
>>>> a
>>>> backend NFS and a MySQL server. In front of
>>>>
>> those I
>>
>>>> have a caching device.
>>>>
>>>> My problem is this, the caching device caches the
>>>>
>> IP
>>
>>>> and username of people that are anonymous or
>>>>
>> logged
>>
>>>> in. If someone logs in as "joe" and browses
>>>>
>> around
>>
>>>> and another user name "jack" browses to the same
>>>> page,
>>>> "jack" will notice his name changed to "joe".
>>>>
>>>> I am not sure how this is happening... But when
>>>>
>> I
>>
>>>> turn off caching on the device the issue goes
>>>>
>> away
>>
>>>> and
>>>> never comes back.
>>>>
>>>> Is there some special character or string I need
>>>>
>> to
>>
>>>> exclude from the cache?
>>>>
>>>> Thanks,
>>>>
>>>> Matt
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
> ____________________________________________________________________________________
>
>>>
>>>
>>>> Be a better friend, newshound, and
>>>> know-it-all with Yahoo! Mobile. Try it now.
>>>>
>>>>
>>>>
> http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
>
>>>
>>>
>>>> _______________________________________________
>>>> MediaWiki-l mailing list
>>>> MediaWiki-l[at]lists.wikimedia.org
>>>>
>>>>
>>>>
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
>>>
>>>
>>>
>>>
>>>
>>>
> ____________________________________________________________________________________
>
>>> Be a better friend, newshound, and
>>> know-it-all with Yahoo! Mobile. Try it now.
>>>
> http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
>
>>> _______________________________________________
>>> MediaWiki-l mailing list
>>> MediaWiki-l[at]lists.wikimedia.org
>>>
>>>
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
>>>
>>>
>> _______________________________________________
>> MediaWiki-l mailing list
>> MediaWiki-l[at]lists.wikimedia.org
>>
>>
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
>
>
>
> ____________________________________________________________________________________
> Be a better friend, newshound, and
> know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l[at]lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
>
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l[at]lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


Platonides at gmail

May 8, 2008, 2:07 PM

Post #10 of 11 (324 views)
Permalink
Re: Caching Issues [In reply to]

DanTMan wrote:
> That's not what I'm talking about.
> Disable caching on the frontend caching device when the user is logged in.
> Your frontend cache is basically the same as Squid and Varnish. You have
> to disable them for users because those kind of caches can never cache
> user data right.
> I believe Wikimedia does this by having the frontend cache check for the
> user cookie.

It's stated on the Vary: header
Vary: Accept-Encoding,Cookie

Furthermore, the exact cookies are statet at X-Vary-Options: but i think
few caching devices would understand it.


_______________________________________________
MediaWiki-l mailing list
MediaWiki-l[at]lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


brion at wikimedia

May 8, 2008, 3:19 PM

Post #11 of 11 (327 views)
Permalink
Re: Caching Issues [In reply to]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Platonides wrote:
> DanTMan wrote:
>> That's not what I'm talking about.
>> Disable caching on the frontend caching device when the user is logged in.
>> Your frontend cache is basically the same as Squid and Varnish. You have
>> to disable them for users because those kind of caches can never cache
>> user data right.
>> I believe Wikimedia does this by having the frontend cache check for the
>> user cookie.
>
> It's stated on the Vary: header
> Vary: Accept-Encoding,Cookie

Note though that by default, just about everything's going to be marked
as *private* in the Cache-Control header. This means that a shared cache
like your proxy server shouldn't cache *anything*.

To mark output as cachable by an intermediate proxy cache, you need to
delve into the terror that is $wgUseSquid... in which case your system
needs to be set up to send notifications to the proxy cache to clear
cached pages when they change.

This isn't very well documented... but I see there's some notes at:
http://meta.wikimedia.org/wiki/Squid_caching

> Furthermore, the exact cookies are statet at X-Vary-Options: but i think
> few caching devices would understand it.

X-Vary-Options is for our customized version of Squid, to tell it that
it's ok to combine or ignore certain values of certain headers that we
specify in Vary. In our case:

* It's told to ignore any cookies other than the ones our servers use
for session and auth data -- this allows JavaScript tools to use cookies
for their settings without disrupting the HTTP caching

* It's told to only pay attention to 'gzip' in Accept-Encoding, since
that's the only non-plain encoding option we offer. This allows us to
combine cached output for browsers which add various different things to
that list which we ignore anyway.

This will have no effect on other system which don't know
X-Vary-Options; they'll just fail to cache a few things.

- -- brion vibber (brion @ wikimedia.org)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkgjfF8ACgkQwRnhpk1wk45I4QCfch+e02U80CS8BGIOacJB/RKy
uhAAnjW3++xVTtaJm7hvX97PJNaUxepP
=Fh0P
-----END PGP SIGNATURE-----

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l[at]lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Wikipedia mediawiki RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.