Gabriel-
This would defeat all caching, we use 'Vary: Accept-Encoding, Cookie'.
Yes, if we want to allow anons to set preferences, we'd have to think about ways to integrate the cookie system into the cache. That'd be a longterm project.
But for vandalism prevention alone, we don't need that. We can just set the cookie on the "edit" page, which is not cached. Remember, the only action we need to require the cookie for is saving pages.
Regards,
Erik
On Wed, 10 Mar 2004 15:37:00 +0100, Erik Moeller wrote:
Gabriel-
This would defeat all caching, we use 'Vary: Accept-Encoding, Cookie'.
Yes, if we want to allow anons to set preferences, we'd have to think about ways to integrate the cookie system into the cache. That'd be a longterm project.
But for vandalism prevention alone, we don't need that. We can just set the cookie on the "edit" page, which is not cached. Remember, the only action we need to require the cookie for is saving pages.
That's the current behaviour, but the cookies aren't persistent across browser sessions unless you choose to log in permanently ('remember me').
With ESI the squid can build cached pages from cookie values, i have done some first tests for this and try to build a skin that can make use of this. More at http://www.esi.org/ or http://meta.wikipedia.org/wiki/Skins.
wikitech-l@lists.wikimedia.org