Yes that sounds pretty good to me, I also think it would be much better for this to be handled on client side, I don't really see any problem with caching, but what I am not sure is if this could be implemented without having to update the articles with some magic words etc. But even if we had to, it still would be just a one time update.
On Fri, Jan 17, 2014 at 11:30 PM, Gabriel Wicke gwicke@wikimedia.org wrote:
On 01/17/2014 02:11 PM, Petr Bena wrote:
it can't be done client side. It must be done on both sides, so that user can save their preference into database without having to set it everytime they get their cookies wiped (which in my case is like 10 times a day just by switching devices and browsers)
Sorry if I wasn't clear; yes, saving the preference is fine. I am mainly concerned about keeping the page content independent of the preference, so that we can serve the same cached content to anonymous and logged-in users. Currently that is not yet possible, but we are working on eliminating the last preference dependencies so that logged-in users can get the same performance as anonymous users.
Gabriel
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l