When linking to a private file, the S3 adapter adds a "signature" parameter to the file which AWS validates before letting you see the file. However, Asset-admin adds a vid parameter to some preview URLs to bust browser caches which invalidates the signature.
When linking to a private file, the S3 adapter adds a "signature" parameter to the file which AWS validates before letting you see the file. However, Asset-admin adds a
vid
parameter to some preview URLs to bust browser caches which invalidates the signature.We've added a new config flag to asset admin that disables this cache busting logic. https://github.com/silverstripe/silverstripe-asset-admin/pull/1119
This PR updates the s3 module to automaticly disable cache busting.
Parent issue