sst.dev icon indicating copy to clipboard operation
sst.dev copied to clipboard

Comments: Deploy Updates

Open jayair opened this issue 9 years ago • 5 comments

Link to chapter - http://serverless-stack.com/chapters/deploy-updates.html

jayair avatar Apr 10 '17 01:04 jayair

@jayair hi, jayair I was wondering what "CloudFront caches our objects in it’s edge locations" meant?

so when I deploy again with the changes in buttons, I can see the changes in s3-website url but can't see them in my own linked up domain name. ( the one we just set up)

Can you explain a little bit more on this?

Thank you so much. I really appreciate your tutorial.

deepseafishing avatar Aug 06 '17 13:08 deepseafishing

@deepseafishing Yeah CloudFront is a CDN so our assets are cached on edge servers that Amazon has. That's why we need to invalidate the CloudFront cache. It can take a minute or two to invalidate it but you should see your changes soon.

jayair avatar Aug 06 '17 23:08 jayair

Why is it required to clear the cache of the redirecting cloudfront ? The redirected page url in S3 didn't change. Isn't it ?

lepirlouit avatar Dec 15 '17 09:12 lepirlouit

@lepirlouit Yeah you don't have to. We just do it for completeness sake.

jayair avatar Dec 15 '17 17:12 jayair

This issue was moved to https://discourse.serverless-stack.com/t/comments-deploy-updates/16

jayair avatar May 09 '18 18:05 jayair