If you want to improve your web site performance, you should enable GZip compression.
What is GZip compression ?
It's simple : you zip date before sending it over the net :
- Server compress data (HTML code, CSS, JavaScript...)
- Data go through the net
- the navigator uncompress data when it arrives before showing them
It's describe in HTTP/1.1
Is performance really better ?
You can check it here : http://stevesouders.com/hpws/rule-gzip.php
Grails et GZip
To enable GZip compression, it's simple.You have to install plugin ui-performance :grails install-plugin ui-performance
Then restart Grails.
Comments :
- If you want to be sure that GZip compression is enabled, you can go in "Audits" tabs on Chrome developpement tools.
- ui-performance plugin do also severeal things like rules of Steve Souders and Yahoo performance team : http://stevesouders.com/hpws/rules.php
No comments:
Post a Comment