Auto compression JS, HTML and CSS

Hello. Can the Hugo auto gzip JS, HTML and CSS ?

Hi @igramnet,

there are already open tickets on GitHub adding an assets pipeline that handles compression (with gzip), asset concatenation and minification. However, Hugo doesn’t support this feature so far.

But there have been discussions about adding a assets pipeline as a core feature.

tl;dr: nonetheless, gulp or other task runners are your tool of choice

4 Likes