Make the iCal feed cacheable and version-aware #47

Open
opened 2026-07-01 00:59:01 +00:00 by manlycucumber · 0 comments
manlycucumber commented 2026-07-01 00:59:01 +00:00 (Migrated from github.com)

Problem

The feed is requested repeatedly by subscribers' clients and must be cached at the edge like other responses, while still refreshing when the data-version bumps.

Acceptance criteria

  • The feed sets ETag and immutable cache headers keyed by inputs and data-version.
  • Conditional requests return 304 when unchanged.
  • A data-version bump produces a refreshed feed.
  • Caching behavior is covered by tests.

Notes

Calendar clients poll frequently; correct 304s materially cut origin load.

## Problem The feed is requested repeatedly by subscribers' clients and must be cached at the edge like other responses, while still refreshing when the data-version bumps. ## Acceptance criteria - [ ] The feed sets ETag and immutable cache headers keyed by inputs and data-version. - [ ] Conditional requests return 304 when unchanged. - [ ] A data-version bump produces a refreshed feed. - [ ] Caching behavior is covered by tests. ## Notes Calendar clients poll frequently; correct 304s materially cut origin load.
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
Directorium/Api#47
No description provided.