[GH-ISSUE #85] Include caching headers when serving image files #357

Closed
opened 2026-02-27 12:43:26 +03:00 by kerem · 0 comments
Owner

Originally created by @thomasjsn on GitHub (Mar 8, 2019).
Original GitHub issue: https://github.com/HaschekSolutions/pictshare/issues/85

It would be beneficial if caching headers were part of the response when serving image files;

Cache-control: public, max-age=31536000

As these files should be pretty much immutable. I can submit a pull request for this, if you point me to suitable method where this should be handles.

Originally created by @thomasjsn on GitHub (Mar 8, 2019). Original GitHub issue: https://github.com/HaschekSolutions/pictshare/issues/85 It would be beneficial if caching headers were part of the response when serving image files; Cache-control: public, max-age=31536000 As these files should be pretty much immutable. I can submit a pull request for this, if you point me to suitable method where this should be handles.
kerem closed this issue 2026-02-27 12:43:26 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/pictshare#357
No description provided.