Pass upstream caching headers along to the client #6

Merged
Firepup650 merged 1 commit from Firepup650/ytrss:feat/passExpiresHeader into main 2026-07-16 02:33:17 +00:00
Contributor

Namely, pass the Expires and Cache-Control headers to the client, if and only if they were present in the upstream response, otherwise we omit them (since it can be assumed there was some form of upstream failure.)

Implements #2

Namely, pass the `Expires` and `Cache-Control` headers to the client, if and only if they were present in the upstream response, otherwise we omit them (since it can be assumed there was some form of upstream failure.) Implements #2
Namely, pass the `Expires` and `Cache-Control` headers to the client,
if and only if they were present in the upstream response, otherwise we
omit them (since it can be assumed there was some form of upstream
failure.
Author
Contributor

(Apparently Forgejo doesn't think "Implements" means the same thing "Closes" does, so this comment is just to trigger the automatic-closer)

Closes #2

(Apparently Forgejo doesn't think "Implements" means the same thing "Closes" does, so this comment is just to trigger the automatic-closer) Closes #2
Firepup650 deleted branch feat/passExpiresHeader 2026-07-16 02:33:17 +00:00
Sign in to join this conversation.
No reviewers
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
h/ytrss!6
No description provided.