Delete S3 content cache with AWS CloudFront Invalidation

Delete S3 content cache with AWS CloudFront Invalidation

When creating an SPA with CloudFront + S3, deploying the file to S3 was not immediately reflected, so use Invalidations to remove the cache.

AWS CloudFrontのInvalidationでS3のコンテンツキャッシュを削除する

Click “Create Invalidation” under CloudFront Invalidations.

index.html
index.js
style.js

Write the file you want to remove the cache as shown above and click “Invalidate”.

AWS CloudFrontのInvalidationでS3のコンテンツキャッシュを削除する

This deletes the cache immediately.

コメント

Discover more from 株式会社CONFRAGE ITソリューション事業部

Subscribe now to keep reading and get access to the full archive.

Continue reading

Copied title and URL