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
I am not 100% sure the intent behind adding the digest to the filenames, but the behavior is inconsistent. If the intent is resolve caching issues, then the same information should be added to the unminified.js and .js.map files as staging a release would be problematic due to unminified code not matching what was previously released.
I am not 100% sure the intent behind adding the digest to the filenames, but the behavior is inconsistent. If the intent is resolve caching issues, then the same information should be added to the
unminified.js
and.js.map
files as staging a release would be problematic due to unminified code not matching what was previously released.Also it would be very useful if the digest in the filename matched the digest of the actual file to verify authenticity.
% md5 jar/assets/bootstrap-0ea926944ea033f05df0ba7b1a12cf24.css
MD5 (jar/assets/bootstrap-0ea926944ea033f05df0ba7b1a12cf24.css) = 2085b9730e0e98f4f61f7e55f3a02cd1
% groovy -e "print java.security.MessageDigest.getInstance('MD5').digest(new File(args[0]).bytes).encodeHex()"
"jar/assets/bootstrap-0ea926944ea033f05df0ba7b1a12cf24.css"
2085b9730e0e98f4f61f7e55f3a02cd1
% aws s3api head-object --bucket MY-BUCKET --key assets/bootstrap-0ea926944ea033f05df0ba7b1a12cf24.css --query ETag --output text
"2085b9730e0e98f4f61f7e55f3a02cd1"
The text was updated successfully, but these errors were encountered: