腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
1
回答
为了使新部署的文件的缓存失效,我应该对Apache使用什么策略?
、
、
一个非常常见的解决方案是执行以下操作: FileETag None
Header
set Cache-Control"max-age=0, no-cache, no-store, must-revalidate"
Header
set
Expires
我在想
浏览 0
提问于2013-12-13
得票数 2
回答已采纳
1
回答
允许在更改源之前缓存image.php
、
、
php
header
("Cache-Control: private, max-age=10800, pre-check=10800");
header
("
Expires
: " . date(DATE_RFC822,strtotime(" 2 day"))); if(file_exists('settings.xmlSERVER['HT
浏览 0
提问于2013-02-02
得票数 2
回答已采纳
1
回答
本地开发过程中的浏览器缓存管理
、
、
、
、
在开发中进行测试时,如何禁用所有本地脚本/样式的缓存,并保持缓存为所有外部脚本/样式工作?最好是firefox
浏览 0
提问于2011-04-10
得票数 2
回答已采纳
2
回答
如何防止PHP使用.htaccess缓存
、
<IfModule mod_
expires
.c> ExpiresByType image/jpg "access 1 year" ExpiresByType
浏览 3
提问于2015-07-08
得票数 2
2
回答
在特定页面(index.php)上使用.htaccess强制不同的缓存
、
、
目前,我正在使用.htaccess在我的网站上强制缓存ExpiresActive on但是我的首页(只是我的domain.com)上的内容更改得更频繁,我想删除强制缓存,或者专门为该页面设置几分钟。我对.htaccess编码几乎一无所知,因此非常感谢您的帮助。谢谢。
浏览 0
提问于2010-10-18
得票数 0
回答已采纳
1
回答
Rails +Heroku上的乘客:如何为静态资源在HTTP报头中设置过期日期或最大期限?
、
、
、
、
application-a24e9c3607.js):时的响应头Content-Length: 0
Etag
浏览 2
提问于2016-01-14
得票数 2
回答已采纳
2
回答
Apache提供旧版本的文件
、
一段时间前,我将以下代码添加到apache中:
Header
add
Expires
"Sun, 19 Nov 197805:00:00 GMT"Server: Apache/2.2.22
浏览 0
提问于2012-12-21
得票数 7
回答已采纳
2
回答
Rails 3.1没有为favicon.ico提供服务
、
、
、
assets)/ { gzip_static on; # to serve pre-gzipped version add_
header
Cache-Control public; proxy_set_
header
X-Forwarded-For$proxy_add_x_forwarded_for; prox
浏览 9
提问于2012-01-10
得票数 3
回答已采纳
1
回答
Wordpress /阻止服务器缓存CSV文件
、
、
我还试着添加了一些
header
()代码。但我不确定在哪里。我在创建文件时添加了以下内容:
header
('Content-Disposition: attachment filename="sample.csv"');
浏览 3
提问于2019-07-18
得票数 1
1
回答
htaccess禁用特定URL的缓存
、
、
(jpg|jpeg|png|gif|ico)$"></filesMatch> </IfModule> ExpiresActive On ExpiresByType image/jpg "access我还尝试了"Location“和
浏览 0
提问于2017-10-18
得票数 0
1
回答
Rails:即使启用了资产摘要,浏览器也会重新验证资产。
、
、
Connection: keep-alive< X-Powered-By: Phusion Passenger (mod_rails/mod_rack) 3.0.11 <
ETag
我在某个地方读到“
Etag
”标题是问题所在-但是我不知道如何关闭
etag
头(不管我做什么-
etag
头总是被返回)。(我不明白为什么官方的食谱不起作用)。
浏览 1
提问于2013-03-03
得票数 0
6
回答
如何在PHP中使用HTTP缓存头
、
、
到目前为止,我正在使用:session_cache_expire(180);
header
('Vary: Accept');
header
("Content-language: $curren
浏览 2
提问于2009-12-29
得票数 68
回答已采纳
3
回答
缓存css和javascript
、
、
$_GET['file'];$
etag
= md5_file($file); {
header
("Cache-Control: maxage=$
expires
, must-revalidate"
浏览 2
提问于2011-08-03
得票数 4
1
回答
在PHP/Apache2中删除我的头文件是什么?
、
、
我使用PHP5.3和Apache2.0来提供一个脚本,该脚本向输出中添加了许多标头:
header
("Content-Type: application/json");
header
("
Et
浏览 3
提问于2011-03-02
得票数 0
1
回答
我如何知道eTags在服务器上是打开的还是关闭的?
、
、
通过这个问题( ),我知道我需要同时使用Expire头和
eTag
头,因为它们有两种不同的用途。我能做到
浏览 0
提问于2012-07-20
得票数 0
回答已采纳
3
回答
如何缓存通过PHP提供的图像?
、
、
下面是它的代码:
header
("Content-type: $mime"); $image = readfile
浏览 0
提问于2012-09-04
得票数 1
回答已采纳
1
回答
使用Apache关闭特定文件的缓存
、
、
php
header
('Cache-Control: no-store, no-cache, must-revalidate');
header
('Pragma: no-cache'); ?
浏览 1
提问于2015-07-09
得票数 19
回答已采纳
1
回答
具有条件的htaccess对缓存的控制
、
、
、
<IfModule mod_
expires
.c>ExpiresDefault A600ExpiresByType
浏览 10
提问于2013-12-02
得票数 1
回答已采纳
1
回答
正确的htaccess缓存参数
、
、
gzip-only-text/html <IfModule mod_headers.c></IfModule> FileETag None <IfModule mod_headers.c>
Header
unset <em
浏览 1
提问于2013-11-16
得票数 3
1
回答
nginx + Rails 3.1 + Cloudfront资产子目录404丢失
、
、
、
gzip_http_version 1.0;
expires
365d; add_
header
ETAg
"";add_
header
Cache-Control public;问题是我的图像资
浏览 0
提问于2012-01-04
得票数 2
回答已采纳
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
图解浏览器缓存
Spring Boot 项目集成HTTP 缓存
图解 HTTP 缓存
页面性能优化办法有哪些?
从未如此简单:5分钟搞懂 HTTP 缓存机制
热门
标签
更多标签
云服务器
ICP备案
对象存储
腾讯会议
云直播
活动推荐
运营活动
广告
关闭
领券