Website

Check-in [2340de5223]
Login
Overview
Comment:Increase max-age to one hour.
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 2340de5223b027b614e409a343c3f428da3065c5583ee84a2e937c2b15e212bf
User & Date: robin.hansen on 2021-06-15 13:14:10
Other Links: manifest | tags
Context
2021-06-18
16:21
Fix typos. Closes [70dd4f93a5]. check-in: 9aae32c838 user: robin.hansen tags: trunk
2021-06-15
13:14
Increase max-age to one hour. check-in: 2340de5223 user: robin.hansen tags: trunk
13:08
Interpret return values in playground as Int, not Uint. check-in: 8a445efb10 user: robin.hansen tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Modified deploy.sh from [2787aa512f] to [e006db0ac8].

7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
npm ci
npm run build

# Upload to s3
pushd dist

aws s3 cp ./index.html s3://stabel-website \
    --cache-control max-age=900

aws s3 cp ./community.html s3://stabel-website \
    --cache-control max-age=900

aws s3 cp ./playground.html s3://stabel-website \
    --cache-control max-age=900

aws s3 cp ./*.css s3://stabel-website \
    --cache-control immutable

aws s3 cp ./*.js s3://stabel-website \
    --cache-control immutable

aws s3 cp ./*.ico s3://stabel-website \
    --cache-control immutable

aws s3 cp ./*.png s3://stabel-website \
    --cache-control immutable

popd







|


|


|


|











7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
npm ci
npm run build

# Upload to s3
pushd dist

aws s3 cp ./index.html s3://stabel-website \
    --cache-control max-age=3600

aws s3 cp ./community.html s3://stabel-website \
    --cache-control max-age=3600

aws s3 cp ./playground.html s3://stabel-website \
    --cache-control max-age=3600

aws s3 cp ./*.css s3://stabel-website \
    --cache-control max-age=3600

aws s3 cp ./*.js s3://stabel-website \
    --cache-control immutable

aws s3 cp ./*.ico s3://stabel-website \
    --cache-control immutable

aws s3 cp ./*.png s3://stabel-website \
    --cache-control immutable

popd