Overview
Comment: | Increase max-age setting on .html files. |
---|---|
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
33851e3b3681d474ee4c950cc242243b |
User & Date: | robin.hansen on 2020-11-22 09:28:47 |
Other Links: | manifest | tags |
Context
2020-11-22
| ||
10:36 | Add copyright and link to Plays twitter profile. check-in: 8144f30df2 user: robin.hansen tags: trunk | |
09:28 | Increase max-age setting on .html files. check-in: 33851e3b36 user: robin.hansen tags: trunk | |
09:28 | Remove repetition. check-in: a65a73db55 user: robin.hansen tags: trunk | |
Changes
Modified deploy.sh from [ad477f6cfb] to [e35eb07dd4].
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
npm ci npm run build # Upload to s3 pushd dist aws s3 cp ./index.html s3://play-website \ --cache-control max-age=300 aws s3 cp ./*.css s3://play-website \ --cache-control immutable aws s3 cp ./playground.html s3://play-website \ --cache-control max-age=300 aws s3 cp ./*.js s3://play-website \ --cache-control immutable popd |
| | |
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
npm ci npm run build # Upload to s3 pushd dist aws s3 cp ./index.html s3://play-website \ --cache-control max-age=600 aws s3 cp ./*.css s3://play-website \ --cache-control immutable aws s3 cp ./playground.html s3://play-website \ --cache-control max-age=600 aws s3 cp ./*.js s3://play-website \ --cache-control immutable popd |