mirror of
https://github.com/mastodon/mastodon.git
synced 2025-01-29 13:31:43 +01:00
9d039209cc
When storing files in S3, paperclip is configured with a Cache-Control header indicating the file is immutable, however no such header was added when using OpenStack storage. Luckily Paperclip's fog integration makes this trivial, with a simple `fog_file` `Cache-Control` default doing the trick.