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
The rack_response plugin ETAG response header is generated based on attributes that can remain the same even if the file content has been changed.
# Value for the "ETag" header.defetagdigest=Digest::SHA256.hexdigest("#{file.shrine_class}-#{file.storage_key}-#{file.id}")%(W/"#{digest.byteslice(0,32)}")end