Home >Web Front-end >HTML Tutorial >CompressingFilter compressed page transmission_html/css_WEB-ITnose

CompressingFilter compressed page transmission_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:46:591529browse

Use pjl-comp-filter-1.7.jar

<filter>  <filter-name>CompressingFilter</filter-name>  <filter-class>com.planetj.servlet.filter.compression.CompressingFilter</filter-class></filter>...<filter-mapping>  <filter-name>CompressingFilter</filter-name>  <url-pattern>/*</url-pattern></filter-mapping>



After testing, It is about 80% smaller than the original page.


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn