Skip to content

bug: a clip's preload and its real play share one edge cache copy - #641

Merged
lukepolo merged 2 commits into
mainfrom
bug/clip-preload-not-a-view
Oct 12, 2026
Merged

lukepolo merged 2 commits into
mainfrom
bug/clip-preload-not-a-view

Conversation

@lukepolo

@lukepolo lukepolo commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

The web now preloads the next clip with ?noview=1 so the preload isn't counted as a view; the Worker's edge cache key was the full request URL, so that preload warmed a separate copy from B2.

  • noview is stripped from the edge cache key (only the raw query is edited, so existing entries keep their keys)
  • Counting is unchanged: noview requests still aren't counted, everything else is

…d keeps one edge copy of a clip whether or not its request is marked noview
…r's warm-up stays noview and shares the play's edge copy
@lukepolo
lukepolo merged commit 33fc4f3 into main Oct 12, 2026
1 check passed
@lukepolo
lukepolo deleted the bug/clip-preload-not-a-view branch October 12, 2026 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant