lighttpd静态文件压缩

compress.cache-dir = "/var/cache/lighttpd/compress/"
compress.filetype = ("text/plain", "text/html","text/javascript","text/css")

可以指定某些静态资源类型使用压缩方式传输,节省带宽,提高页面的加载速度。

猜你喜欢

转载自eric-gao.iteye.com/blog/782279