Skip to content

Commit

Permalink
fix: add cache control to images
Browse files Browse the repository at this point in the history
  • Loading branch information
PScoriae committed Dec 27, 2024
1 parent 85cbfce commit 6274215
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions main/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,7 @@ deployment:
targets:
name: S3 pierreccesario.com
URL: "s3://pierreccesario.com?region=ap-southeast-1"
matchers:
- pattern: "^.+\\.(png|jpg|webp)$"
cacheControl: "max-age=86400"
gzip: false

0 comments on commit 6274215

Please sign in to comment.