Now let's make a summary:
In fact, in order to have a better user experience, we have optimized from all aspects:
The resource itself is cropped in size:
For CSS,JS resources, we compress them with yui-compressor.
For image resources, we use the Sprite tool bar multiple small pictures merged into large single pictures
The cost of resources being downloaded from the server to the client is reduced:
We have enabled the filtering of gzip filter on the server so that all the resources are compressed so that downloading time can be greatly reduced in the current browser.
The number of resources is reduced:
This is our main Liferay server to carry out a series of parameter optimization configuration, including the opening of a variety of optimization parameters, multiple resources merged into a single resource.
So, now the effect is obvious:
We remember in the first article, we scored 68 points, and now we look at the optimized score:
The effect is significant, from the beginning of the 68 points to the current 83 points (and to the B level), so we are confident that the current page performance is much better than before