cache-control:

问答中心分类: Linuxcache-control:
langziyang asked 5 年 ago

安装好oneinstack后,默认cache-control:是no-store, no-cache, must-revalidate,阿里云CDN那边要求配置cache-control:这个有缓存,我修改httpd.conf,现在出现了两个参数,请问哪里不对

  1. cache-control: no-store, no-cache, must-revalidate
  2. cache-control: max-age=600, private, must-revalidate
  3. content-encoding: gzip
  4. content-type: text/html; charset=utf-8

1 Answers
oneinstack answered 5 年 ago
cache-control是后端程序加的头,环境nginx不会做特殊配置