JavaScript

4 notes · 10 Nov 2026 – 13 Nov 2026

Week 46

9–15 Nov 2026

4 notes

  1. three.js skinned-mesh crowds are processor-bound by bone count, not triangles or backend

    Per-frame processor time for a crowd of skinned meshes in three.js scales with bones times characters. Triangle count and the WebGPU backend did not change it.

  2. Identity-keyed WeakMap cache went stale when the key object was mutated in place

    A cache keyed on object identity keeps returning the first result after the key object is mutated in place, and tests that only build fresh objects do not catch it.

  3. vite preview returns 404 for the module script of a subpath build that static hosts serve fine

    vite preview answered 404 for the entry script of a build with a base path, while a plain static server and GitHub Pages served the same files without errors.

  4. Browser File.type comes from the file name, not the content

    The browser derives File.type from the file extension, so a PDF without the .pdf ending fails a MIME type check in the client and on the server. Check the leading bytes instead.

All topics