After deploy taking time to reflect changes

馋奶兔 提交于 2021-01-28 09:05:53

问题


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:

  1. Go to cloudfront :
  2. Do invalidation of objects
  3. 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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!