Skip to content

Commit

Permalink
Bug: Fix increase CloudFront policy duration
Browse files Browse the repository at this point in the history
  • Loading branch information
EarthlingDavey committed Nov 22, 2024
1 parent c786c85 commit 18e03c0
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 18e03c0

Please sign in to comment.