What should I look for to optimize performace on the front end, to do css, js etc minimization. keep the head and only change the body? Using Java and Spring MVC, or, with Play and Sparks for example.
What should I look for to optimize performace on the front end, to do css, js etc minimization. keep the head and only change the body? Using Java and Spring MVC, or, with Play and Sparks for example.
In front-end performance, there are many ways to optimize. With http / 1.1 the main ones are:
To minify JS and CSS files, GRUNT , the same is a task automator. There are many examples on the internet about its use. However, if you're more familiar with java, you can use WRO . which is a tool for optimizing web resources.
With http / 2 some of these practices are not needed, the protocol contains features that provide good performance. It's worth looking into this, a good http server that implements this protocol is the NGINX .
Ex. site with http / 2: link
Finally, a good reference to good site optimization practices is Google Insights Rules . It contains each of the items I mentioned, and is best explained.kkk