Rewrite `no-cache` usage docs

This commit is contained in:
Léo Colombaro 2022-12-05 20:07:01 +01:00
parent 373d86a396
commit 00377b8d29
1 changed files with 7 additions and 5 deletions

View File

@ -24,11 +24,13 @@
# directives meanings is highly recommended. A resource with `public` will # directives meanings is highly recommended. A resource with `public` will
# be cached by shared caches like CDN, even if a user session is active. # be cached by shared caches like CDN, even if a user session is active.
# #
# (*) The directive `no-cache` is defined by Nginx `expires` when set on # (*) To avoid duplication of the directive `no-cache` on `Cache-Control`,
# `epoch`. This ensure a correct value enforcement whenever `Cache-Control` # the value is skipped here.
# configuration is used or not. # The directive `no-cache` is already defined by Nginx `expires` when set
# To avoid value duplication on `Cache-Control`, the directive is skipped # to `epoch`. This ensure a correct value enforcement whenever cache
# here. # control configuration is used or not.
# Cache expiration configuration `expires` is described in the file
# h5bp/web_performance/cache_expiration.conf.
# #
# https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control # 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/rfc9111.html