ChinaUnix.net
相关文章推荐:

nginx expires

expires header有谁研究过?

by hiller1 - 服务器应用 - 2008-08-26 13:37:09 阅读(1308) 回复(0)

相关讨论

SetOutputFilter DEFLATE AddOutputFilter DEFLATE xml php js css BrowserMatch ^Mozilla/4 gzip-only-text/html BrowserMatch ^Mozilla/4\.0[678] no-gzip BrowserMatch \bMSIE !no-gzip !gzip-only-text/html # Don't compress images SetEnvIfNoCase Request_URI \ \.(?:gif|jpe?g|png)$ no-gzip dont-vary SetEnvIfNoCase Request_URI \ \....

by crastyl - BSD文档中心 - 2009-01-07 09:45:47 阅读(1476) 回复(0)

有人吗? 有个问题 mod_expires 和 mod_gzip 好象不兼容 只要把 mod_gzip_on 设置为 yes 不管怎么点页面都没有 304 的迹象 expiresActive On expiresByType image/gif A604800 ... ... 不管怎么设置都没有缓存 把 mod_gzip_on 设置为 no 就正常了 有人遇到过吗?

by Mistruster - 服务器应用 - 2007-10-18 21:02:20 阅读(4964) 回复(12)

我的服务器上的配置是 win2000+apache2.0.54+tomcat5.0.28 现在想在某些目录上设置网页过期时间。 当写法是在httpd.conf的后面直接加 expiresActive on expiresDefault "access plus 50 hour" 时,网站全部网页和图片等内容起作用。 当我想只配置某个特定的目录起作用时。写法改为: Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all ...

by lxh5192 - 服务器应用 - 2006-09-11 11:34:48 阅读(1346) 回复(1)

把mod_expires打开以后 一些地方会出现问题。 比如论坛 登陆 以后还是显示客人 只有刷新以后才会正常 类似这种情况怎么解决呢? 还有。为什么我的 httpd -l 只显示 Compiled-in modules: http_core.c mod_so.c suexec: disabled; invalid wrapper /usr/local/apache/bin/suexec 但是我apache里面已经配置了不少东西的 比如mod_gzip 之类。并且好象都正常的。

by uptosky - Linux论坛 - 2003-04-06 16:04:00 阅读(648) 回复(0)

Server: Apache/1.3.41 (Unix) 安装了mod_expires 在网站根目录添加了文件.htaccess .htaccess内容如下 expires.c> expiresActive On expiresDefault "access plus 12 hours" expiresByType text/html "access plus 3 days" expiresByType text/plain "access plus 3 days" expiresByType image/gif "access plus 30 days" expiresByType image/png "access plus 30 days" expiresByType image/jpeg ...

by sanjianghong - 服务器应用 - 2009-07-23 16:13:37 阅读(2492) 回复(7)

2008/09/03 08:10:28 [notice] 4197#0: using the "epoll" event method 2008/09/03 08:10:28 [notice] 4197#0: nginx/0.6.31 2008/09/03 08:10:28 [notice] 4197#0: built by gcc 3.4.6 20060404 (Red Hat 3.4.6-3) 2008/09/03 08:10:28 [notice] 4197#0: OS: Linux 2.6.9-42.EL 2008/09/03 08:10:28 [notice] 4197#0: sysctl(KERN_RTSIGMAX): 0 2008/09/03 08:10:28 [notice] 4197#0: getrlimit(RLIMIT_NOFILE): 65535:65535 200...

by sam.liu - 服务器应用 - 2008-11-20 15:40:28 阅读(8231) 回复(3)

nginx的负载均衡有哪些功能呢? * 如果后面的服务器其中一台坏了,它能自动识别,更牛的是它好了之后nginx可以马上识别 那么大虾知道这ngnix的这个功能使用那部分配置或文件实现的,基本原理是什么?

by andyhua12 - 服务器应用 - 2008-09-30 15:24:47 阅读(2454) 回复(8)

使用心得:nginx处理大并发比较稳定,特别省 内存 ,配置简单. 1.安装pythoncd /usr/ports/lang/python make install clean 2.安装flup cd /usr/ports/www/py-flup make install clean 3.安装 django 1) cd /usr/ports/www/py-django make install clean 4.安装 nginx cd /usr/ports/www/nginx make install clean 5.启动和管理flup的脚本 参考 http://www.djangoproject.com/documentation/fastcgi/ #!/bin/sh # Replace these thr...

by 剑心通明 - BSD文档中心 - 2008-03-23 20:44:48 阅读(1075) 回复(0)

nginx总结 目录 一、安装 2 A)一般安装 2 B)高级安装 2 二、基本命令 3 三、配置文件 3 A)配置文件解释 3 B)带监控模块的配置 4 C)虚拟主机的配置 5 五、事件模型介绍--I/O复用方法 7 A)标准事件模型 7 B)高效事件模型 7 六、关于LEMP的结构 8 A)Linux+nginx+Mysql+Php 8 B)其他结构 8 七、软件的平滑升级 10 A)简单修改配置文件 10 B)平滑升级二进制代码 11 八、相关的处理信号 12 A)主进程可以处理的信号 12 B)工作进...

by adu119 - 服务器应用 - 2008-01-31 18:29:41 阅读(9257) 回复(11)