Skip to content

Commit

Permalink
revert cache policy for /data
Browse files Browse the repository at this point in the history
  • Loading branch information
its-felix committed Nov 3, 2024
1 parent 7fa64e0 commit 1d657ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cdk/lib/constructs/cloudfront-construct.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ export class CloudfrontConstruct extends Construct {
compress: true,
viewerProtocolPolicy: ViewerProtocolPolicy.REDIRECT_TO_HTTPS,
allowedMethods: AllowedMethods.ALLOW_GET_HEAD_OPTIONS,
cachePolicy: CachePolicy.USE_ORIGIN_CACHE_CONTROL_HEADERS_QUERY_STRINGS,
cachePolicy: CachePolicy.CACHING_OPTIMIZED,
originRequestPolicy: OriginRequestPolicy.ALL_VIEWER_EXCEPT_HOST_HEADER,
responseHeadersPolicy: cacheOverridableResponseHeadersPolicy,
},
Expand Down

0 comments on commit 1d657ac

Please sign in to comment.