A company wants to invalidate specific files cached in CloudFront immediately after a deployment. What is the most efficient approach?
-
A
Update the CloudFront TTL to 0 and wait for the cache to expire naturally
-
B
Create an invalidation request specifying the paths of the objects to remove from edge caches
-
C
Delete and recreate the CloudFront distribution
-
D
Change the S3 bucket policy to force CloudFront to re-fetch content