File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4444 --exclude "infra/*" \
4545 --exclude "*.md" \
4646 --exclude ".gitignore" \
47- --cache-control "public, max-age=86400 "
47+ --cache-control "public, max-age=1800 "
4848
4949 - name : Set short cache on HTML files
5050 run : |
5353 --exclude "*" \
5454 --include "*.html" \
5555 --metadata-directive REPLACE \
56- --cache-control "public, max-age=300 " \
56+ --cache-control "public, max-age=120 " \
5757 --content-type "text/html; charset=utf-8"
5858
5959 - name : Invalidate CloudFront cache
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ When changes are pushed to `master`:
25252 . ** Cache clear** — CloudFront CDN cache is invalidated
26263 . ** Live** — Changes are available on all domains (cuspuo.org, cuspuo.com, and their www variants)
2727
28- HTML files are cached for 5 minutes; other assets (images, CSS, JS) are cached for 24 hours .
28+ HTML files are cached for 2 minutes; other assets (images, CSS, JS) are cached for 30 minutes .
2929
3030## File Structure
3131
You can’t perform that action at this time.
0 commit comments