Render GSP view as compact html file
If the goal is to go easy on network transfer, enable the Spring Boot compression (gzip) in application.yml server: compression: enabled: true mime-types: application/json,application/xml,text/html,text/xml,text/plain,text/css,application/javascript