问题
I have a project which is built-in ReactJs. and I am using s3 and CloudFront for deployment. I am facing an issue whenever I deploy code after deployment it takes too much time to reflect changes. sometimes I have to manually clear browser cookies for the latest changes. Do I need to configure S3 or CloudFront settings?
回答1:
Follow this steps:
- Go to cloudfront :
- Do invalidation of objects
- Create entry
/*
Reference : https://aws.amazon.com/premiumsupport/knowledge-center/cloudfront-serving-outdated-content-s3/
来源:https://stackoverflow.com/questions/62713932/after-deploy-taking-time-to-reflect-changes