中山网站建设价格,从零开始做一个网站需要多少钱,西安平台搭建,wordpress 百度优化解决办法:
通常只需要index.html 不缓存即可, 其他文件都是根据index.html 中的引用去加载;
正确的做法是在 站点下增加 web.config 文件, 内容如下:
我这个是因为目录下有个config.js 配置文件, 也不能缓存, 所以加了两个
?xml version1.0 encoding
正确的做法是在 站点下增加 web.config 文件, 内容如下:
我这个是因为目录下有个config.js 配置文件, 也不能缓存, 所以加了两个
?xml version1.0 encodingUTF-8?
configurationlocation pathindex.htmlsystem.webServerstaticContentclientCache cacheControlModeNoControl //staticContenthttpProtocolcustomHeadersadd nameCache-Control valueno-store //customHeaders/httpProtocol/system.webServer/locationlocation pathconfig.jssystem.webServerstaticContentclientCache cacheControlModeNoControl //staticContenthttpProtocolcustomHeadersadd nameCache-Control valueno-store //customHeaders/httpProtocol/system.webServer/location
/configuration效果: