# ---------------------------------------------------------------------- # | Cache Control | # ---------------------------------------------------------------------- # Serve resources with appropriate cache control. # # The `Cache-Control` header field holds directives (instructions) that control # caching in browsers and shared caches (e.g. Proxies, CDNs). # # https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control # https://www.rfc-editor.org/rfc/rfc9111.html # https://www.rfc-editor.org/rfc/rfc8246.html # https://www.iana.org/assignments/http-cache-directives/http-cache-directives.xml # https://cache-tests.fyi/ add_header Cache-Control $cache_control;