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

オープン
#3,278 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
58/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
csharp

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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).

主要言語
C#
スター
569
フォーク
107
平均マージ
2時間 49分
マージ済み PR(30日)
397

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

fluentcms/FluentCMS のほかの issue

fluentcms/FluentCMS の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。