Lighttpd类日志
分页: 1/2 第一页 1 2 下页 最后页 [ 显示模式: 摘要 | 列表 ]

配制lighttpd+fastcgi启动脚本 不指定

root , 2008/05/22 16:48 , Lighttpd , 评论(1) , 阅读(9680) , Via 本站原创
一、vi /etc/init.d/webserver

二、配置成服务
引用
chmod 775 webserver
chkconfig --add webserver
service webserver restart

lighttpd配制HTTP压缩 不指定

root , 2007/09/22 15:16 , Lighttpd , 评论(0) , 阅读(6337) , Via 本站原创
静态文件压缩
引用

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

可以指定某些静态资源类型使用压缩方式传输,节省带宽,对于大量AJAX应用来说,可以极大提高页面加载速度。
Tags: ,
分页: 1/2 第一页 1 2 下页 最后页 [ 显示模式: 摘要 | 列表 ]