Emit ETags and immutable cache-control on all cacheable responses #18
Labels
No labels
area: api
area: auth
area: build
area: cache
area: ci
area: compare
area: model
area: provenance
area: rite
backport
blocked
breaking
confirmed
dependencies
duplicate
epic
invalid
needs-info
needs-triage
php
priority: high
priority: low
priority: medium
regression
type: chore
type: correction
type: docs
type: enhancement
type: feature
type: fix
type: perf
type: refactor
type: security
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Directorium/Api#18
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Cloudflare should cache everything with long immutable TTLs, and clients should revalidate cheaply. Every cacheable response needs a stable ETag and correct cache-control headers.
Acceptance criteria
If-None-Matchreturn 304 with no body.Notes
ETags must be derived from the canonical payload so static and dynamic paths match.
Delivered in #136 (squash-merged to
develop).