-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Minify html + css #2182
Comments
the simplest solution is to enable gzip in the proxy but we can also use some express.js proxy |
https://www.npmjs.com/package/express-minify We should use it only in the production mode |
@patzick afaik you've done it? |
@filrak we we have less data now in html and css on SSR, but is still could be minified on server render output. I'll assign myself to to this |
Plus - gzip / brotli also as a Express.js middlewares as we discussed |
These middlewares should be available to disable/enable via We can also consider the Webpack plugin for static files (CSS) minimization Please make sure this mechanism is supporting Output caching |
Feature #2182 - output compression and minifier
What is the motivation for adding / enhancing this feature?
The current index document is pretty long and just minify/compress the output of html and css in the document will save around 80% of the document size.
Can you complete this feature request by yourself?
NO
Additional information
Tested to paste the html document here: https://htmlcompressor.com/compressor/
And it gave a 88% saving when compressed.
The text was updated successfully, but these errors were encountered: