expiresbytype php,php缓存mod_file_cache 模块的设置_php

Apache模块 mod_file_cache

说明

提供文件描述符缓存支持,从而提高Apache性能

状态

实验(X)

模块名

file_cache_module

源文件

mod_file_cache.c

header( "Expires:" . gmdate("D, d M Y H:i:s", time() + 3600 * 24) . " GMT");

header("Content-Type:image/jpeg;");

header("Connection:close;");

$im = ImageCreateFromJpeg('img/ove.jpg');

ImageJPEG($im);

http://www.gaodaima.com/48417.htmlphp缓存mod_file_cache 模块的设置_php

?>

服务器配置:

FileETag none

ExpiresActive On

ExpiresDefault A0

ExpiresByType image/x-icon A2592000

ExpiresByType application/x-JavaScript A259200

ExpiresByType text/css A259200

ExpiresByType image/gif A259200

ExpiresByType image/png A259200

ExpiresByType image/jpeg A259200

ExpiresByType text/plain A604800

ExpiresByType application/x-shockwave-flash A604800

ExpiresByType video/x-flv A604800

ExpiresByType application/pdf A604800

ExpiresByType text/html A0

详细请参考以下页面:

http://www.tblog.com.cn/manual/apache2.2/mod/mod_file_cache.html

欢迎大家阅读《php缓存mod_file_cache 模块的设置_php》,跪求各位点评,若觉得好的话请收藏本文,by 搞代码

e7ce419cf2d6ad34d01da2ceb8829eed.png

微信 赏一包辣条吧~

023a57327877fb4402bcc76911ec18ea.png

支付宝 赏一听可乐吧~

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值