Actually, logged in users are much more expensive to serve than logged out. So it depends what percentage of users we are talking about.
In any case, a cache-busting cookie is just as costly as being logged in (since being logged in also involves a cache busting cookie).
On Saturday, October 1, 2022, Samuel Klein meta.sj@gmail.com wrote:
How about a one-click 'account creation + customization' option, which updates the skin, rerenders the page, and asks the reader to finish setting username + password to save the pref?
That seems cache cheap and a fine tradeoff: more readers with accounts would be good on a lot of levels
đđđđ
On Fri., Sep. 30, 2022, 4:59 p.m. Brian Wolff, bawolff@gmail.com wrote:
Basically, if you are ok with it only taking affect after page load (so users see first the original page then the new version) it is trivial. However flash of wrongly styled content is a really bad user experience.
To do it without the flash of wrong version of toggle, is difficult due to the way our infrastructure is currently setup. Nothing insurmountable in principle, but high effort and involves some tradeoffs that seems not worth it in context.
-- Brian
p.s. for the avoidance of doubt, this is my personal opinion and not an "official" answer in any capacity.
On Friday, September 30, 2022, Samuel Klein meta.sj@gmail.com wrote:
Dear WT,
The perennial discussion about ways to provide logged-out users with persistent customization of their reading experience in the browser has cropped up again in the context of the pending deployment of Vector 2022.
Can a cookie-based width toggle https://en.wikipedia.org/wiki/Wikipedia:Requests_for_comment/Deployment_of_Vector_(2022)#Alt_proposal:_gradual_changeover_+_width_toggle be offered without splitting the cache or otherwise making the toggler regret their tog?
The answers currently range from "*shouldn't be very complicated or hacky, just toggling a class*..." and "*can be delivered to logged-out users on top of the cached parser output*.." to "*impossible*".
Could someone clarify the challenges and costs of trying to toggle css classes in this way?
Warmly, SJ
-- Samuel Klein @metasj w:user:sj +1 617 529 4266
Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org To unsubscribe send an email to wikitech-l-leave@lists.wikimedia.org https://lists.wikimedia.org/postorius/lists/wikitech-l. lists.wikimedia.org/