【发布时间】:2015-09-04 11:02:38
【问题描述】:
鉴于下面的示例location,-1 对expires 意味着什么?这是否意味着“永不过期”或“永不缓存”?
# cache.appcache, your document html and data
location ~* \.(?:manifest|appcache|html?|xml|json)$ {
expires -1;
access_log logs/static.log;
}
https://github.com/h5bp/server-configs-nginx/blob/b935688c2b/h5bp/location/expires.conf
【问题讨论】:
标签: caching nginx cache-control