I ran into the need of Minify Filter – Revel Framework – Go Lang for my web application. Then I started a discussion with Revel Framework Dev team for guidance. In the end I have developed the Minify Filter by referring framework revel.CompressFilter and shared with dev team. I would like share this minify filter with Revel Community.
What Minify Filter would do?
- Minify of HTML content type
- And Inline-CSS on the page
I have used tdewolff/minify library for minification of html content.
Gist Link: https://gist.github.com/jeevatkm/f17069142842b302e244ada9cda7c4e0