MozillaFoundation / mofo-devops

Mozilla Foundation DevOps Plans, Issues, Discussions
12 stars 5 forks source link

Add Cloudfront cache invalidation to OpenNews deploy script #139

Closed ryanpitts closed 9 years ago

ryanpitts commented 9 years ago

We've been having some issues in the last week or so: After we deploy changes to the site, users in some (but not all!) regions do not see updated content for long periods of time. It's required a manual cache invalidation to fix the issue (thanks @jbuck!).

Is it possible to add Cloudfront cache invalidation to the standard Jenkins deploy script?

jbuck commented 9 years ago

I've modified the default TTL for objects in Cloudfront to be 10 minutes. So if you want 10 minutes it'll pull down a fresh copy of whatever you're requesting.

ryanpitts commented 9 years ago

:+1: