Difference between revisions of "React caching"
Jump to navigation
Jump to search
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
* https://create-react-app.dev/docs/production-build/#static-file-caching | * https://create-react-app.dev/docs/production-build/#static-file-caching | ||
− | * [[build/static]] | + | * <code>[[build/static]]</code> |
* [[Cache-Control]] | * [[Cache-Control]] | ||
− | * [[aws s3 cp --cache-control]] | + | * <code>[[--cache-control]]: [[aws s3 cp --cache-control]]</code> |
+ | |||
+ | aws s3 cp [[--cache-control]] [[max-age]]=31536000 | ||
+ | |||
+ | |||
+ | [[Cache-Control]]: [[max-age]]=31536000 | ||
* [[HTTP headers]] | * [[HTTP headers]] | ||
+ | * [[Cache-Control]] | ||
+ | * [[Cache]] | ||
== See also == | == See also == | ||
* {{React}} | * {{React}} |
Latest revision as of 15:27, 19 July 2023
Advertising: