https://bugzilla.wikimedia.org/show_bug.cgi?id=61577

Daniel Friesen <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mediawiki-bugs@nadir-seen-f
                   |                            |ire.com

--- Comment #1 from Daniel Friesen <[email protected]> ---
I've got two problems with these assertions.

Firstly, on (2b) the skin stack is already under this situation. If we change
basically anything like css selectors, module names, or add a new module to
addModuleStyles we'll have to leave things duplicated on WMF for 30 days for
the caches to expire. So supporting dependencies and replacing addModuleStyles
with a key to tell addModules that a hardcoded <link> should be used instead
just leaves us in the same situation, it doesn't make anything worse.

Secondly, on (2a) our current assertion seems to be that we always want to
serve up to date CSS. But given all the trouble we have with changing
selectors, renaming modules, etc... it seems that that perception is incorrect,
and the reality is that we DON'T want up to date css, if a cached page with old
HTML is being served then we actually want to serve it old CSS.

That would mean we DO want &version= in the HTML and we want a ResourceLoader
snapshot system that will allow WMF to snapshot the current state of RL modules
before a scap and have that served to cached pages with old HTML after the new
code is pushed out.

That would mean server side dependencies wouldn't be a problem, nor would we
need selector, css, or module duplication when we change things.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to