Skip to content

Commit

Permalink
Bug: Fix increase CloudFront policy duration (#795)
Browse files Browse the repository at this point in the history
  • Loading branch information
EarthlingDavey authored Nov 22, 2024
1 parent 1ffa0b9 commit 997c3c3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class AmazonS3AndCloudFrontSigning
private mixed $cloudfront_host;
private string $cloudfront_url;

const CLOUDFRONT_DURATION = 60 * 10; // 10 minutes
const CLOUDFRONT_DURATION = 60 * 15; // 15 minutes - important that this is at least nginx cache (10mins) + TRANSIENT_DURATION (2mins)
const CLOUDFRONT_REFRESH = 60 * 5; // 5 minutes
const TRANSIENT_DURATION = 60 * 2; // 2 minutes

Expand Down

0 comments on commit 997c3c3

Please sign in to comment.