[Wikitech-l] Re: Cookie-based CSS toggles for logged-out readers?

2022-10-10 Thread Brian Wolff
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,

[Wikitech-l] Re: Cookie-based CSS toggles for logged-out readers?

2022-10-01 Thread Samuel Klein
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 

[Wikitech-l] Re: Cookie-based CSS toggles for logged-out readers?

2022-09-30 Thread Brian Wolff
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