Skip to content

feat: cache media files in the route cache - #4911

Merged
swissky merged 17 commits into
emdash-cms:mainfrom
swissky:feat/media-route-cache
Nov 19, 2026
Merged

swissky merged 17 commits into
emdash-cms:mainfrom
swissky:feat/media-route-cache

Conversation

@swissky

@swissky swissky commented Nov 17, 2026 •

Copy link
Copy Markdown
Member

What does this PR do?

Implements the accepted media route-cache feature plan. I encountered repeated storage reads and image transforms on my EmDash site.

Closes #4498

On sites with a compatible route-cache provider, such as cacheCloudflare(), EmDash caches whole image responses for one year under emdash:media:<storageKey>. Replacing an image, or deleting its stored file, purges the original and its cached variants. Browser cache headers and validators remain unchanged.

  • Original-file requests must have no query string, including no _emdash_media preview parameter. Audio, video, partial responses, conditional 304 responses and errors are not automatically cached.
  • Variant caching and canonical query redirects apply only to Astro's stock sharp service on Node and @astrojs/cloudflare/image-service-workerd on Cloudflare. Custom image services retain their parameters and existing handling. Stock-service redirects also apply without a cache provider.
  • A cacheable variant's href must be exactly the internal media path or that path prefixed with the request's origin. Nested queries, fragments, foreign origins and alternate path spellings retain existing image handling but receive no automatic cache entries. Relative and same-origin absolute sources can occupy separate entries.
  • Astro's memoryCache() receives no automatic media entries. Its query filtering can collapse different images onto one cache key, and warm hits do not preserve the endpoint's conditional responses. Page caching remains available. Other providers must preserve distinct image inputs and conditional-request behavior.
  • Cacheable storage keys contain only ASCII letters, digits, ., _ and -, and are at most 1,011 characters long so the full tag fits Cloudflare's 1,024-character purge limit. Longer keys remain valid for serving existing media.

Invalidation covers media API routes, the media picker, MCP media_delete, trusted and sandboxed plugin routes, and Cloudflare cleanup of objects left behind by failed deletes. Replace purges after storage succeeds even if the later metadata update fails. Deletes purge only after storage removal and only for potentially cached media.

Cloudflare sandbox deletion uses an invocation-bound RPC target so the host callback survives cross-isolate routing. Purges are queued for host-side execution. A late deletion after a plugin timeout can still miss its purge if the host invocation ends; a grace timer is not a deployed lifetime guarantee. Direct bucket changes, failed purges and overlapping cache fills have the limitations documented in the route-caching guide.

The proposal records these scope amendments.

Integration note: #4889 changes Node background invalidation and the same route-caching documentation. Whichever PR merges second must reconcile the documentation and test media purges from Node hooks, cron tasks and hourly cleanup with the combined implementation. The current Node limitations describe this branch without that still-open change.

Type of change

  • Bug fix
  • Feature (requires an accepted feature plan or RFC)
  • Refactor (no behavior change)
  • Translation
  • Documentation
  • Performance improvement
  • Tests
  • Chore (dependencies, CI, tooling)

Your connection to this change

  • I use EmDash and ran into the problem this PR addresses
  • I maintain a tool, dependency, or service that EmDash uses, and this change concerns that integration
  • A Maintainer approved this specific change before I opened the PR

Checklist

  • I have read CONTRIBUTING.md
  • pnpm typecheck passes
  • pnpm lint passes
  • pnpm test passes (or targeted tests for my change)
  • pnpm format has been run
  • I have added/updated tests for my changes (if applicable)
  • User-visible strings in the admin UI are wrapped for translation (if applicable). Do not include messages.po changes except in translation PRs — a workflow extracts catalogs on merge to main.
  • I have added and reviewed the user-facing changeset (if this PR changes a published package)
  • New features link to their merged design PR: design: cache media files in the route cache #4735
  • I have included screenshots below if this PR changes the UI

AI assistance disclosure

  • This PR includes AI-generated code or text — model/tool: Claude Opus 5.5, GPT-6 Astra

Screenshots / test output

Not applicable (no UI changes or new admin strings).

Validated the merge with upstream 6d0551bdec7f776d3f77233f095342f3aefeb1ac, candidate tree e5b5c7db7054c64ea38f001cc9b7b7c9c0c34565:

  • Root pnpm format, pnpm build, pnpm lint:quick, type-aware lint:json (zero diagnostics, pipeline failures checked), and pnpm typecheck passed.
  • Full pnpm test passed. Admin: 5,357 passed; core: 11,752 passed, 24 skipped; Cloudflare: 624 passed, 2 skipped; workerd: 277 passed.
  • Focused media/invocation checks: 275 passed. Focused workerd bridge/timeout checks: 111 passed. Dedicated local D1/R2 media-byte and invocation-bound RPC checks: 7 passed.
  • Actual Node and Cloudflare starter production builds against local candidate packages passed, as did the docs build. Worker startup check: 29 modules, 1,886,887 bytes, within its limits.
  • SQLite query counts and normalized SQL match the upstream-integrated snapshots.

One full-suite attempt hit a 275 ms Save-click timeout in the admin media-repeater test. The unchanged test passed in isolation and the subsequent full suite passed. An earlier run interrupted by a concurrent rebuild is not counted. Typechecking used the installed native compiler's directory on PATH because its workspace binary link was missing.

An independent full static review covered all 46 changed files against the integrated upstream base and found no confirmed code defect. Its publication finding was that the previous PR description was stale; this description corrects those claims. Review is evidence, not human approval.

Regression coverage exercises the real Astro memory provider and Sharp transforms, custom-service parameters, source-query exclusions, and invocation-bound sandbox deletion. The local workerd RPC tests check D1/R2 deletion and callback isolation, not a deployed Workers Cache purge.

Earlier deployed Cloudflare MISS/HIT and replace/delete measurements belong to a previous revision. Earlier Node memory-cache HIT and size-limit measurements are superseded by the exclusion of automatic media caching.

Not verified on this candidate: PostgreSQL (EMDASH_TEST_PG unavailable), D1 query snapshots, deployed Cloudflare cache behavior, and host lifetime after sandbox timeout. The dedicated core workerd run covers the two relevant media test files, not that entire suite.

Store whole image files and /_image variants for one year under
emdash:media:<storageKey>, purge the tag on replace and on deletes that
remove the stored file (admin, MCP, trusted and sandboxed plugins), and
redirect non-canonical /_image queries to Astro's parameter order.
Skip caching media whose storage key could split its Cache-Tag, cap media
responses at 10 MB in memoryCache(), purge deletes from the media picker and
the hourly cleanup, and purge sandbox bridge deletes only when the stored
file was removed.
Read the route cache provider after all integrations ran, describe the
total memoryCache() bound, back the Cloudflare bridge test with a real
SQLite table, and cover purge failures, disabled caches, missing items,
failed Cloudflare transforms and the cleanup invalidator wiring.
Cover the route cache provider name reaching the config virtual module
and ctx.media.delete() purging through the request cache in trusted
plugin routes. Document that /_image also redirects differently encoded
queries and that memoryCache() hits can skip the redirect.
@github-actions github-actions Bot added the review/needs-review No maintainer or bot review yet label Nov 17, 2026
@changeset-bot

changeset-bot Bot commented Nov 17, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 589cf2f

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 12 packages
Name Type
emdash Minor
@emdash-cms/cloudflare Minor
@emdash-cms/sandbox-workerd Patch
@emdash-cms/plugin-test Patch
@emdash-cms/admin Minor
@emdash-cms/auth Minor
@emdash-cms/blocks Minor
create-emdash Minor
@emdash-cms/gutenberg-to-portable-text Minor
@emdash-cms/x402 Minor
@emdash-cms/auth-atproto Patch
@emdash-cms/plugin-embeds Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@pkg-pr-new

pkg-pr-new Bot commented Nov 17, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

@emdash-cms/admin

npm i https://pkg.pr.new/@emdash-cms/admin@4911

@emdash-cms/auth

npm i https://pkg.pr.new/@emdash-cms/auth@4911

@emdash-cms/auth-atproto

npm i https://pkg.pr.new/@emdash-cms/auth-atproto@4911

@emdash-cms/blocks

npm i https://pkg.pr.new/@emdash-cms/blocks@4911

@emdash-cms/cloudflare

npm i https://pkg.pr.new/@emdash-cms/cloudflare@4911

@emdash-cms/contentful-to-portable-text

npm i https://pkg.pr.new/@emdash-cms/contentful-to-portable-text@4911

emdash

npm i https://pkg.pr.new/emdash@4911

create-emdash

npm i https://pkg.pr.new/create-emdash@4911

@emdash-cms/gutenberg-to-portable-text

npm i https://pkg.pr.new/@emdash-cms/gutenberg-to-portable-text@4911

@emdash-cms/plugin-cli

npm i https://pkg.pr.new/@emdash-cms/plugin-cli@4911

@emdash-cms/plugin-test

npm i https://pkg.pr.new/@emdash-cms/plugin-test@4911

@emdash-cms/plugin-types

npm i https://pkg.pr.new/@emdash-cms/plugin-types@4911

@emdash-cms/registry-client

npm i https://pkg.pr.new/@emdash-cms/registry-client@4911

@emdash-cms/registry-lexicons

npm i https://pkg.pr.new/@emdash-cms/registry-lexicons@4911

@emdash-cms/registry-loader

npm i https://pkg.pr.new/@emdash-cms/registry-loader@4911

@emdash-cms/registry-moderation

npm i https://pkg.pr.new/@emdash-cms/registry-moderation@4911

@emdash-cms/registry-verification

npm i https://pkg.pr.new/@emdash-cms/registry-verification@4911

upgrade-emdash

npm i https://pkg.pr.new/upgrade-emdash@4911

@emdash-cms/sandbox-workerd

npm i https://pkg.pr.new/@emdash-cms/sandbox-workerd@4911

@emdash-cms/x402

npm i https://pkg.pr.new/@emdash-cms/x402@4911

@emdash-cms/plugin-ai-moderation

npm i https://pkg.pr.new/@emdash-cms/plugin-ai-moderation@4911

@emdash-cms/plugin-ai-search

npm i https://pkg.pr.new/@emdash-cms/plugin-ai-search@4911

@emdash-cms/plugin-atproto

npm i https://pkg.pr.new/@emdash-cms/plugin-atproto@4911

@emdash-cms/plugin-audit-log

npm i https://pkg.pr.new/@emdash-cms/plugin-audit-log@4911

@emdash-cms/plugin-color

npm i https://pkg.pr.new/@emdash-cms/plugin-color@4911

@emdash-cms/plugin-embeds

npm i https://pkg.pr.new/@emdash-cms/plugin-embeds@4911

@emdash-cms/plugin-field-kit

npm i https://pkg.pr.new/@emdash-cms/plugin-field-kit@4911

@emdash-cms/plugin-forms

npm i https://pkg.pr.new/@emdash-cms/plugin-forms@4911

@emdash-cms/plugin-webhook-notifier

npm i https://pkg.pr.new/@emdash-cms/plugin-webhook-notifier@4911

commit: 589cf2f

@emdashbot emdashbot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The approach is right and follows the accepted plan (proposals/media-route-cache.md). Media responses get route-cache intent with a per-storage-key tag, replace and delete purge that tag, /_image URLs are canonicalized, and the existing invalidateRouteCache and plugin content-action plumbing is reused. One reviewer found no actionable issues and approved. The other raised one needs_fixing finding and two suggestions, and all three are kept here. The needs_fixing item is a design-record mismatch: replace purges even when the metadata update fails, which contradicts the accepted plan. The suggestions are wasted purges for media that was never cacheable and uncapped cache entries on the file route. Both reviews were static; neither ran tests or builds.


Reviewed by anthropic/claude-opus-5-5 and openai/gpt-6.1-sol.

return handleError(error, "Failed to replace media", "MEDIA_REPLACE_ERROR");
}
// The stored bytes changed even if the metadata update below fails.
await invalidateRouteCache(cache, [mediaCacheTag(media.storageKey)]);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[needs fixing] The purge runs as soon as the storage upload succeeds, before handleMediaReplaceMetadata. A replace whose metadata update fails therefore still purges, and the new test purges even when the metadata update fails after the bytes changed pins that behavior.

The accepted plan's Verification section says the opposite: "Replace: a successful replace invalidates the tag; a failed upload or metadata update does not." Purging here is probably correct, because the bytes under the key have already changed. But it is a silent change to the accepted design, and the PR description's "Details beyond the plan" does not mention it.

Please amend proposals/media-route-cache.md so the design record matches what ships. The same amendment could cover:

  • the 10 MB memoryCache() cap
  • not caching unsafe storage keys
  • deferring sandboxed purges to the invocation flush
  • purging from cleanup

(The other reviewer approved with no findings and did not raise this.)

) {
return apiError("MEDIA_DELETE_ERROR", "Failed to delete media", 500);
}
if (result.data.storageDeleted) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[suggestion] This purges emdash:media:<storageKey> for every delete that removed the stored file. That includes PDFs, audio, video and keys that fail isSafeTransformKey, none of which cacheMediaResponse ever stores.

On Cloudflare, each purge counts against the account-wide Workers Cache limit (5 per minute, burst of 25). Bulk-deleting documents can rate-limit later content purges and leave pages stale, while buying nothing. runSystemCleanup already filters with isSafeTransformKey.

Consider purging only when the deleted item could have been cached: an image/* MIME type and a safe key. media.mimeType is already loaded above. The same applies to the media-picker route and the MCP media_delete tool. The docs' line that deleting a media item whose stored file was removed costs one purge request would then also be accurate for non-images.

if (body) unusedBody = undefined;
// Only images: memoryCache() ignores Range, so a cached video or audio
// file would answer a player's seek with the whole file.
if (!range && result.contentType.startsWith("image/")) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[suggestion] The file route caches the whole response whatever the request's query string. Each distinct ?x=1, ?x=2… becomes its own route-cache entry under the same tag. With memoryCache(), an anonymous visitor could fill the 1,000-entry limit with copies of one 10 MB image. That needs no transform work, unlike the /_image variant flood the docs describe, and it evicts cached pages.

The plan's goal of one cache entry per URL is enforced only for /_image. Consider calling cacheMediaResponse only when the query is empty or contains only the admin's _emdash_media cache-buster. Alternatively, redirect other query strings the way /_image does.

Skip the route-cache purge when a deleted file was never cacheable (non-image
types and unsafe keys), cache media file responses only for an empty query or
the admin preview parameter, and record the shipped behavior in the proposal.
@github-actions

github-actions Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Approval status

The current revision does not meet the approval requirements yet.

  • ❌ 2 human Maintainer approvals from someone other than the author (governance or privileged supply-chain change); found 1: @khoinguyenpham04.
  • ✅ No outstanding change requests.

This comment updates as reviews arrive. See MAINTAINING.md and the proposal process for the rules.

@swissky swissky added the bot:review Trigger an emdashbot code review on this PR label Nov 17, 2026

@emdashbot emdashbot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The approach is sound and matches the accepted plan in proposals/media-route-cache.md. Image responses get route-cache intent under a per-storage-key tag. Replace and delete purge that tag. /_image URLs are redirected to one canonical form. The existing invalidateRouteCache and plugin content-action plumbing is reused. Both reviewers approved with no new findings. Both found the earlier findings fixed: the proposal now records that replace purges even when the metadata update fails, purges are skipped for media that was never cacheable, and the file route caches only an empty query or the _emdash_media parameter. Both reviews were static; neither ran tests or builds.


Reviewed by anthropic/claude-opus-5-5 and openai/gpt-6.1-sol.

@emdashbot emdashbot Bot removed the bot:review Trigger an emdashbot code review on this PR label Nov 17, 2026
@swissky swissky added the ci:run Approve and re-run CI on the PR's latest commit label Nov 17, 2026
@github-actions github-actions Bot removed the ci:run Approve and re-run CI on the PR's latest commit label Nov 17, 2026
@jackskip22

Copy link
Copy Markdown

I maintain the rapier-jxl encoder and the JPEG XL Image Optimizer plugin for EmDash. The plugin answers /_image?href=…&w=…&f=webp in Astro middleware. When the request's Accept lists image/jxl, it sends a stored JPEG XL copy and adds Vary: Accept. I checked this PR's code and Astro's cache code to see how they fit together:

  • The route cache only keys entries by URL. The comment in [...key].ts says so, and cache.set takes no key beyond the URL.
  • A cache hit is served before Astro middleware runs. In Astro 6.4.8 routing/handler.js, the cache handler wraps the middleware chain and calls the provider's onRequest first.
  • cacheCloudflare() sets no Vary. Its provider only sets Cloudflare-CDN-Cache-Control and Cache-Tag. Cloudflare's docs say: "By default, Cloudflare does not consider vary values in caching decisions." Vary for images is not available on the Free plan. A site could add a Cache Rule that varies on Accept, but every site would have to set one up.
  • memoryCache() does key on Vary, so it is not affected.

On cacheCloudflare(), the first WebP answer for a URL will be stored. Later requests from browsers that can show JPEG XL get that WebP from the cache. While nothing breaks, the plugin never sees those requests and the visitor loses the saving.

The fix is likely a separate URL for JPEG XL, the way AVIF already has one through formats. That means jxl as an allowed format, f=jxl answered with WebP when no plugin answers it, and a site-level default for formats. If you're open to that, I could open it as a design pull request.

A static import pulled the image endpoint into the Worker's startup modules and pushed the starter template past the 30-module limit.

@danielmlr danielmlr left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Found 3 things worth a look:

  1. I think the /_image redirect should only kick in for Astro's own image service. From the code, a site with a custom local service that adds its own param in getURL now gets a 301 to the URL without it, like the size=thumbnail case @khoinguyenpham04 hit. Browsers keep that 301, so it sticks even after a fix. Maybe canonicalTransformSearch could run, and the variant get cached, only when imageConfig.service.entrypoint is Astro's built-in one?
  2. I'd go with @khoinguyenpham04's idea of leaving media caching off under memoryCache() for now. A site that sets query.include for its pages drops href from the key, so every image shares one cache entry. And with several processes, a delete or replace only purges the one that handled it, so the others can keep serving the old image for up to a year.
  3. #4889 changes the same paragraph and Node list in route-caching.mdx, so whichever goes in second will clash there. Once both are in, hooks, cron jobs and the hourly cleanup on Node do purge, so the two "not purged" bullets would be wrong. Could whichever goes in second update them?

@emdashbot emdashbot Bot added review/awaiting-author Reviewed; waiting on the author to respond and removed review/awaiting-author Reviewed; waiting on the author to respond labels Nov 18, 2026
@github-actions github-actions Bot added needs-rebase review/needs-rereview New commits since the last review and removed review/awaiting-author Reviewed; waiting on the author to respond labels Nov 18, 2026

@emdashbot emdashbot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The approach remains sound: cache eligible image responses by storage-key tag and purge them when stored bytes change. This follow-up appropriately narrows provider and image-service compatibility, with corresponding amendments to the proposal, guide, and changeset.

I reviewed the changes since the previously approved head, including the memoryCache() exclusion, source-URL eligibility, tag-length limits, and invocation-scoped Cloudflare media deletion. The added tests cover observable response behavior, storage deletion, capability checks, and RPC isolation. Earlier findings remain resolved; I found no new issues to fix.

Review was static; I did not run tests or builds. Deployed Cloudflare timeout guarantees remain unverified and are explicitly documented as a limitation.


Follow-up review by openai/gpt-6.1-sol, scoped to the changes since the last review.

@swissky

swissky commented Nov 18, 2026

Copy link
Copy Markdown
Member Author

Thanks @danielmlr and @khoinguyenpham04, your findings are addressed in the latest push.

Automatic media caching is disabled entirely under memoryCache(). Canonical redirects and automatic variant caching now apply only to the stock Sharp and Cloudflare workerd image services, so custom-service parameters stay untouched, including when caching is disabled. Regression tests cover the query-key collision, conditional responses and the custom size=thumbnail case.

I've also noted the overlap with #4889 in the PR description. Whichever lands second will need to reconcile the Node purge documentation and verify the combined behavior.
Could you take another look when you have time?

@emdashbot emdashbot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The approach is sound. Eligible image responses are cached under a per-storage-key tag (emdash:media:<storageKey>), and that tag is purged when the stored bytes change. The narrowed scope (stock image services only, plain local sources, original-file URLs without a query string, no automatic entries under memoryCache()) is recorded in the proposal, guide and changeset. Both reviewers approved with no open findings. They agree that the earlier query-string finding, the purge-filtering finding and the design-record finding about purging on a failed metadata update are resolved at this head. Review was static, so tests and builds were not run. Deployed Cloudflare purge behavior, purges after a sandbox timeout, and whether providers skip storing HEAD responses remain unverified. The first two are documented as limitations.


Reviewed by anthropic/claude-opus-5-5 and openai/gpt-6.1-sol. The change since the last review (1116 lines) was too large for a scoped follow-up, so this is a full review.

@khoinguyenpham04 khoinguyenpham04 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@emdashbot emdashbot Bot added review/needs-rereview New commits since the last review and removed review/needs-rereview New commits since the last review labels Nov 19, 2026
@github-actions github-actions Bot added review/needs-review No maintainer or bot review yet and removed review/needs-rereview New commits since the last review labels Nov 19, 2026
@swissky
swissky merged commit 23800a0 into emdash-cms:main Nov 19, 2026
96 of 98 checks passed
@emdashbot emdashbot Bot mentioned this pull request Nov 19, 2026
@bimsonz bimsonz mentioned this pull request Nov 19, 2026
5 of 9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Media file route serves every image with max-age=0 because "Replace original" reuses the storage key

4 participants