Difference between revisions of "Cache-Control"
Jump to navigation
Jump to search
Line 15: | Line 15: | ||
Cache-Control: [[max-age]]=3600, [[stale-while-revalidate]]=600 | Cache-Control: [[max-age]]=3600, [[stale-while-revalidate]]=600 | ||
+ | Cache-Control: max-age=3600, stale-if-error=86400 | ||
[[HTTP headers]] | [[HTTP headers]] |
Revision as of 14:35, 19 July 2023
Request directives: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control#request_directives
no-cache no-store max-age max-stale min-fresh no-transform only-if-cached stale-if-error stale-while-revalidate
Cache-Control: max-age=3600, stale-while-revalidate=600 Cache-Control: max-age=3600, stale-if-error=86400
aws s3 cp --cache-control React caching
See also
Advertising: