Setting Cache-Control headers

Started by elliot2 replies92 views
elliotOriginal post
#1

Is there any way to set Cache-Control headers on individual uploads with tusd? This can be accomplished with tus-node-server by setting a “cacheControl” metadata field on the upload, but that doesn’t seem to work with tusd. I can modify the upload metadata in a pre-create hook but no matter what I put in there the Cache-Control header of the item in my S3-compatible storage (R2) doesn’t change.