duna-oss / flystorage

Flystorage; File storage abstraction for Node / TypeScript
https://flystorage.dev/
166 stars 10 forks source link

Add support for custom Cache-Control header #37

Closed awensaunders closed 1 month ago

awensaunders commented 2 months ago

This is only supported for public access on supported providers: azure, s3, gcs.

The intention is so that when hosting stuff for public access -logos etc.-, you can set the cache-control header and allow browsers to cache the content.

closes #36

frankdejonge commented 1 month ago

@awensaunders nice, I like it. I think the test failure is a contribution setup problem, lemme dig into it and find some time to release this.