# 在 nginx 中如何配置 HTTP 协商缓存
Issue
欢迎在 Gtihub Issue 中回答此问题: Issue 634 (opens new window)
Author
Nginx 中在 1.3.3 后已默认开启了协商缓存,手动配置如下:
location /public {
add_header Cache-Control no-cache;
etag on;
if_modified_since exact;
}
Issue
欢迎在 Gtihub Issue 中回答此问题: Issue 634 (opens new window)
Author
Nginx 中在 1.3.3 后已默认开启了协商缓存,手动配置如下:
location /public {
add_header Cache-Control no-cache;
etag on;
if_modified_since exact;
}