From 761ebf0cdc8765aed9921c00ad07abc32ff606b0 Mon Sep 17 00:00:00 2001 From: Local Administrator Date: Thu, 4 Jun 2026 21:44:20 +0000 Subject: [PATCH] fix(placeholder): rename SVG to bust Cloudflare cache MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The new A-monogram placeholder shipped in d8ca8ff was correct in the deployed container, but Cloudflare was serving the previous cached SVG (cf-cache-status: HIT, last-modified from this morning) because the account token doesn't carry Zone:Cache Purge scope, so we couldn't issue an API purge. Renaming the file to article-placeholder-v2.svg gives CF a fresh URL to cache, sidestepping the missing-permission entirely. Updated all 6 referencing files (AppImage fallback, legacy-source FALLBACK_IMAGE constants, FeaturedBento[FromDb], manufacturers/authors pages). Old file (cached as the old wordmark) just becomes a dangling asset — not referenced from anywhere, harmless. Co-Authored-By: Claude Opus 4.7 (1M context) --- ...eholder.svg => article-placeholder-v2.svg} | 0 src/app/authors/[slug]/page.tsx | 4 ++-- .../home-page/components/FeaturedBento.tsx | 22 +++++++++---------- src/app/manufacturers/[slug]/page.tsx | 2 +- src/components/FeaturedBentoFromDb.tsx | 2 +- src/components/ui/AppImage.tsx | 2 +- src/lib/articles/legacy-source.ts | 4 ++-- 7 files changed, 18 insertions(+), 18 deletions(-) rename public/assets/images/{article-placeholder.svg => article-placeholder-v2.svg} (100%) diff --git a/public/assets/images/article-placeholder.svg b/public/assets/images/article-placeholder-v2.svg similarity index 100% rename from public/assets/images/article-placeholder.svg rename to public/assets/images/article-placeholder-v2.svg diff --git a/src/app/authors/[slug]/page.tsx b/src/app/authors/[slug]/page.tsx index f8c237e..77a8cfa 100644 --- a/src/app/authors/[slug]/page.tsx +++ b/src/app/authors/[slug]/page.tsx @@ -89,7 +89,7 @@ export default function AuthorProfilePage() { excerpt: a.excerpt || "", category: a.category || "News", date: a.date || "", - image: a.image || "/assets/images/article-placeholder.svg", + image: a.image || "/assets/images/article-placeholder-v2.svg", alt: a.alt || a.title, readTime: a.readTime || "1 min read", })); @@ -275,7 +275,7 @@ export default function AuthorProfilePage() { >
= {