4 ms·
If you want the updated site to be available immediately then you must invalidate the cache. I do it as the last step in my CI/CD process: - aws configur
by nkristoffersen 8y ago
If you want the updated site to be available immediately then you must invalidate the cache.
I do it as the last step in my CI/CD process:
- aws configure set preview.cloudfront true
- aws cloudfront create-invalidation --distribution-id $CLOUDFRONT_ID --paths '/*'
- curl https://google.com/ping?sitemap=$SITEMAP_URL
- drudru11 8y agoThx. I was hoping there was a way to avoid that extra cost. Also, thx for sharing your code to do this.