Closed davinkevin closed 8 years ago
We should use for "serve-prod" a system like https://www.npmjs.com/package/connect-gzip-static to serve gz if present and compatible and js / css in other case. This require browser-sync to serve file in prod mode.
After inspection, CSS gzip is divided by 6 and JS by 3
Closing that one as serve-prod should not be used in actual production anyway.
Using https://www.npmjs.com/package/gulp-gzip
And modify index.html to load gz instead of js