You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gtaylor edited this page Feb 17, 2011
·
5 revisions
What is the best way to handle cache invalidation? Is this the correct process?
Check hash to see if file has changed and needs to be uploaded.
If changed or missing on remote, push file.
If this is the first push of the file then we are done, move on to next file.
If the file had already existed on S3, add to list of files to invalidate.
At the end of syncing, send cache invalidation message to S3. (Check on message length limits, there are several with SDB/EC2, and probably for CloudFront)