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
In #170 we remove md5 hashing and updated send_file to dynamically calculate the sha1 hash on each call. This is expensive because it requires reading the full GridFS file and hashing the contents to set the etag, then we read the file in full again to send the file itself.
It would be better for save_file to add the etag hash to the GridFS file metadata so that it doesn't need to be recalculated on each send_file call.