
dan_the_man at telus
May 8, 2008, 7:10 AM
Post #9 of 11
(347 views)
Permalink
|
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
|