-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Caching issue resulting in forever loading until hard refresh #859
Comments
Should have been fixed by #867 |
unee-t#859 This might not work since deploys can timeout or fail before invalidation is ever run. Or worse invalidation happens before the app rolls out changes, leading the previous app to be effectively cached, and not the new one.
AWS recommend creating a lambda that triggers the invalidation like so: |
#859 This might not work since deploys can timeout or fail before invalidation is ever run. Or worse invalidation happens before the app rolls out changes, leading the previous app to be effectively cached, and not the new one.
We have a lambda but I'm unsure how to deploy across {demo,prod} accounts. I've raised an AWS support query, though yet to receive a response. |
CDN invalidation is done in production by https://github.com/unee-t/frontend/blob/master/.travis.yml Demo doesn't have a CDN for debugging purposes. There are some more deployment details upon https://forums.meteor.com/t/aws-ecs-deployment-in-2019/50282?u=hendry |
This appears to be some invalidation / caching header issue on Meteor. We can't reproduce the problem and it's probably quite complex. So I've proposed to send a Cloudfront invalidation request on deployment via our CD.
This invalidation can be run manually like so until it's been successfully integrated into our CD pipeline.
dev
prod
The text was updated successfully, but these errors were encountered: