Delivery media URLs carry no version, so replaced images stay cached for a day

Aperta
#3,278 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
58/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
csharp

Direzione di ricerca

Start in MediaService.cs at lines 669–672 and 793, then read MediaEndpoints.cs at lines 163 and 196 to trace how delivery and preset URLs are built and cached. Check how management URLs use the checksum and how transform canonical strings are formed. Done means replacing an asset changes every delivery and preset URL; the optional cache-tag proposal is outside the stated acceptance criterion.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

plugin type:bug

Problem

Management media URLs carry v from the checksum so a replace gives a new URL, but delivery originals (MediaService.cs:793) and preset URLs (:669-672) do not, and they are served with public, max-age=86400 (MediaEndpoints.cs:163,196). A replaced, privatised or deleted image is served from browsers and CDNs for up to a day.

Proposal

Add v= from the checksum to delivery and preset URLs (and to the transform canonical string); optionally emit cache-tag headers so an event can purge a CDN.

Acceptance

  • A replace changes every delivery and preset URL of the asset

Found in the code review of 17 Nov 2026 (B7).

Lingua principale
C#
Stelle
569
Fork
107
Merge medio
2h 49m
PR unite (30g)
397

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di fluentcms/FluentCMS

Tutte le issue di fluentcms/FluentCMS

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.