Skip to content

Normalize model cache URLs#877

Open
joel777rubio-web wants to merge 1 commit into
tscircuit:mainfrom
joel777rubio-web:normalize-model-cache-urls
Open

Normalize model cache URLs#877
joel777rubio-web wants to merge 1 commit into
tscircuit:mainfrom
joel777rubio-web:normalize-model-cache-urls

Conversation

@joel777rubio-web
Copy link
Copy Markdown

Fixes #93.

The OBJ/WRL loader already has a global cache, but URLs with cache-busting query params can miss that cache and trigger duplicate fetch/parse work. This normalizes model cache keys by stripping cachebust/cachebust_origin params while preserving the real model URL.

Verification:

  • npx bun test tests/normalize-model-cache-url.test.ts
  • npx bun run build

@vercel
Copy link
Copy Markdown

vercel Bot commented May 12, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
3d-viewer Ready Ready Preview, Comment May 12, 2026 8:56am

Request Review

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.

Improve 3d model loading to avoid laggy browser

1 participant