w3c / mailing-list-archives

Modernizing W3C's mailing list archives
https://w3c.github.io/mailing-list-archives/samples/
19 stars 12 forks source link

Minify (or at least concatenate) JS sources before deployment #20

Open tripu opened 8 years ago

tripu commented 8 years ago

Different PRs use base.js plus different JS modules: jQuery, markdown-it, CryptoJS… Concatenate all JS sources into a single file before releasing the new design, to save HTTP requests.

gosko commented 8 years ago

Minifying before deployment sounds OK; concatenation seems no longer necessary or recommended with HTTP/2 according to this presentation:

screen shot 2016-03-11 at 11 33 58 am

(that bubble is revealed after advancing to the next state in the slide deck; seems unlinkable)

tripu commented 8 years ago

Interesting presentation, @gosko. Thanks! About minifying, some people at W3C dislike it; see it as bad practice… So maybe nothing to do here, after all :)