Bug 15449 – CSS and JS files should be minified

Status
NEW
Severity
enhancement
Priority
P4
Component
dlang.org
Product
D
Version
D2
Platform
All
OS
All
Creation time
2015-12-15T22:57:09Z
Last change time
2024-12-15T15:23:07Z
Keywords
performance
Assigned to
No Owner
Creator
Jack Stouffer
Moved to GitHub: dlang.org#3948 →

Comments

Comment #0 by jack — 2015-12-15T22:57:09Z
This reduces the number of separate network requests, each of which incur non-trivial overhead, and reduces the total data transferred.
Comment #1 by greensunny12 — 2018-03-30T01:47:23Z
The currently optional solution to make POST request to some external site isn't enabled because it doesn't work well. I just looked at our options in 2018 and it looks really bad. Everyone just seems to be packaging huge JS bundles or Java archives .. Great :/ I found: - YUI (Java) - Closure Compiler (Java) - https://github.com/mishoo/UglifyJS2 (NPM) - https://github.com/matthiasmullie/minify (PHP) I will pick YUI because it's in Debian stable (https://packages.debian.org/wheezy/yui-compressor) and supports JS + CSS.
Comment #2 by greensunny12 — 2018-03-30T05:05:19Z
https://github.com/dlang/dlang.org/pull/2311 for the minification. I opened https://issues.dlang.org/show_bug.cgi?id=18695 to track the concatenation (might be trickier because not everything is needed on every page)
Comment #3 by bugzilla — 2019-12-27T16:38:11Z
Removed the concatenation here, because else it looks like a duplicate.
Comment #4 by robert.schadek — 2024-12-15T15:23:07Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dlang.org/issues/3948 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB