软件工程师-Web开发者必知的25个Apache性能优化技巧.pdf





《软件工程师-Web开发者必知的25个Apache性能优化技巧.pdf》由会员分享,可在线阅读,更多相关《软件工程师-Web开发者必知的25个Apache性能优化技巧.pdf(2页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、Web 开发者必知的 25 个 Apache 性能优化技巧Apache 至今仍处于 web 服务器领域的霸主,无人撼动,没有开发者不知道。本篇文章介绍25 个Apache 性能优化的技巧,如果你能理解并掌握,将让你的 Apache 性能有显著的提升!AD:ApacheApache 部分:部分:1.移除不用的模块。2.使用 mod_disk_cache NOT mod_mem_cache。3.扁平架构配置 mod_disk_cache。4.安装恰当的 Expires,Etag,和 Cache-Control Headers。5.将缓存放在独立的磁盘6.使用管道日志替代直接记录7.将日志放在不同的
2、磁盘8.使用 mod_gzip/mod_deflate。9.将 HostnameLookups 关闭.10.避免在 configs 中使用主机名。11.使用持久连接。12.不要设置 KeepAliveTimeout 太高。13.禁用.htaccess。14.允许 symlinks。15.关闭 ExtendedStatus。16.避免在 DirectoryIndex 中通配符。1/2OS 部分:17.提高 Swappiness。18.提高写入缓冲器(Write Buffer)大小。19.提高最大打开文件。应用部分:20.设置图像和样式表的前端代理。21.使用 mod_passenger for rails。22.关闭 safe_mode for php。23.不要使用 threaded mpm with mod_php。24.刷新缓冲区预渲染。25.频繁访问的数据设置缓存。2/2
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 软件工程师 Web 开发者 25 Apache 性能 优化 技巧

限制150内