Skip to content
jcarbaugh edited this page Feb 17, 2011 · 5 revisions

What is the best way to handle cache invalidation? Is this the correct process?

  1. Check hash to see if file has changed and needs to be uploaded.
  2. If changed or missing on remote, push file.
  3. If this is the first push of the file then we are done, move on to next file.
  4. If the file had already existed on S3, add to list of files to invalidate.
  5. At the end of syncing, send cache invalidation message to S3.
Clone this wiki locally