Recently feel that the speed of the project is a bit slow, I am in the network of a search, sent a good thing, can not help to share with you, I hope you could try, there is room for improvement! Requires removal of white space, extraction of common code, reduced page.
Mr. Fat searched and found the trimfilter. It can be implemented to remove white space, code collation, the size of the page reduced to the original 1/2[no actual test], the finishing speed is good, the usage is very simple.
My men download jar package, I have deleted, please download it yourself, note that you need to unzip to use!
Http://files.cnblogs.com/files/pangxiansheng/%E7%A9%BA%E6%A0%BC%E7%9A%84%E8%BF%87%E6%BB%A4.rar
Configuration in Web. xml
<!--HTML removal page blank line--><filter> <filter-name>trimFilter</filter-name> < Filter-class>com.cj.trim.trimfilter</filter-class></filter><filter-mapping> < Filter-name>trimfilter</filter-name> <url-pattern>*.jsp</url-pattern></ Filter-mapping>
Speed has hints, may be the heart effect! I hope you also use the cabins.
[Tip]00.trimfilter Remove JSP page blank, improve access speed