Emit cache tags as a CDN surrogate-key header
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 48/100
- Issue-Typ
- Feature
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- csharp
- Bereich
- api, backend, documentation
Rechercherichtung
Start by locating DeliveryResponse, where the cache tags are computed, and CacheInvalidatedEvent to compare its tags with the response tags. Then find Spec 4.10 and the webhooks plugin documentation. Done means the configurable header is off by default, carries the same tags as the invalidation event when enabled, and the spec explains tag purging with a CDN example.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Problem
DeliveryResponse already computes the site:, type: and entry: tags it gives the output cache, but a CDN in front of the host cannot use them, so it must expire by time or purge by URL.
Proposal
- Emit the tags as a configurable header (
Cache-Tag,Surrogate-Keyor a custom name) on Delivery responses, off by default. - Document purging by tag from
CacheInvalidatedEventthrough the webhooks plugin, with an example for a common CDN.
Acceptance
- With the header configured, Delivery responses carry their tags and without it they carry none
-
CacheInvalidatedEventnames the same tags the header carried - Spec 4.10 documents the header and the purge pattern
From the review recommendations (#2890).
- Vorherrschende Sprache
- C#
- Sterne
- 569
- Forks
- 107
- Ø Merge
- 4 Std. 1 Min.
- Gemergte PRs (30 T.)
- 235
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus fluentcms/FluentCMS
-
area:build type:chore
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
Maintainer antworten meist innerhalb von 1 Tag
-
area:build type:chore
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 48/100
Maintainer antworten meist innerhalb von 1 Tag
-
area:build type:chore
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 48/100
Maintainer antworten meist innerhalb von 1 Tag
-
area:storage type:feature
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 48/100
Maintainer antworten meist innerhalb von 1 Tag
-
area:identity type:feature
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 35/100
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in fluentcms/FluentCMS
Ähnliche Issues
-
Assert.That on a null non-generic IEnumerable throws ArgumentNullException, so IsNull() cannot passOffenbug P2
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
Maintainer antworten meist innerhalb von 1 Tag
-
area/automation area/sdk kind/bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
unoplatform/uno.templates#2406 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug frontend ui
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
Maintainer antworten meist innerhalb von 1 Tag
-
agentic-workflows
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
Maintainer antworten meist innerhalb von 1 Tag
-
documentation trivial
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
Maintainer antworten meist innerhalb von 1 Tag