Skip to content
Grav 2.0 is officially stable. Read the announcement →
Archive

Minify HTML

Started by Muut Archive 11 years ago · 5 replies · 981 views
11 years ago

I know at present you can minify the CSS and JS (which I'm yet to work out how - I've enabled it in the admin plugin, but it doesn't seem to be working).
Is there an option to minify the entire page HTML output?
Google recommends minifying HTML.

11 years ago

you can enable gzip of html in grav via the system config

10 years ago

Has anyone figured out a way to minify the html output?
Gzip isn't the same thing. Ideally we can use both minification and gzip..

10 years ago

What's the point in this? The time it would take to actually do the minimizing would offset any performance gains of it being minified. Gzip is going to do a much better job at compressing the HTML output, and much faster too.

10 years ago

Very fair point!
It'd make sense if used in conjunction with a static caching plugin but you're right, it is overkill :)

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1366 9 years ago
Archive · by Muut Archive, 9 years ago
2 940 9 years ago
Archive · by Muut Archive, 9 years ago
2 4069 9 years ago
Archive · by Muut Archive, 9 years ago
1 2960 9 years ago
Archive · by Muut Archive, 9 years ago
3 1125 9 years ago