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