This should happen when the content is updated, but the thumbnails might be cached (both on the server and in web clients) and the changes therefore might take some time to show up remotely. We probably should have a way to trigger just the thumbnail creation separately (because things occasionally do go wrong with the thumbnail generation) but it's currently integral to the act of file modification.
ETag