Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

perf(changelog): serve the newest entries from a small feed instead of 870 KB

nirholas7092de17d13e
diff --git a/pages/features.html b/pages/features.html
index a1032c2e3..f6038124a 100644
--- a/pages/features.html
+++ b/pages/features.html
@@ -1660,7 +1660,12 @@
} catch { return iso; }
};
try {
- const res = await fetch('/changelog.json', { headers: { accept: 'application/json' } });
+ // Six newest entries only, so read the 150-entry window rather
+ // than the full 870 KB history. /changelog.json is the fallback
+ // for a cached shell served by a deploy that predates the small
+ // feed; both carry the same envelope.
+ let res = await fetch('/changelog-recent.json', { headers: { accept: 'application/json' } });
+ if (!res.ok) res = await fetch('/changelog.json', { headers: { accept: 'application/json' } });
if (!res.ok) throw new Error('feed ' + res.status);
const { entries = [] } = await res.json();
const seen = new Set();
diff --git a/public/changelog-recent.json b/public/changelog-recent.json
index fae4ed8ca..6f5605a01 100644
--- a/public/changelog-recent.json
+++ b/public/changelog-recent.json
@@ -1,5 +1,5 @@
{
- "generated_at": "2026-09-08T17:31:12.489Z",
+ "generated_at": "2026-09-08T17:33:16.712Z",
"generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json",
"site": {
"name": "three.ws",
diff --git a/public/changelog.json b/public/changelog.json
index 5cc611a2b..2d03f6264 100644
--- a/public/changelog.json
+++ b/public/changelog.json
@@ -1,5 +1,5 @@
{
- "generated_at": "2026-09-08T17:31:11.997Z",
+ "generated_at": "2026-09-08T17:33:16.210Z",
"generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json",
"site": {
"name": "three.ws",
diff --git a/public/docs/walk/changelog.html b/public/docs/walk/changelog.html
index 73dc1dde0..b0cc55247 100644
--- a/public/docs/walk/changelog.html
+++ b/public/docs/walk/changelog.html
@@ -148,16 +148,41 @@
.join('');
}
+ async function fetchFeed(url) {
+ const res = await fetch(url, { headers: { accept: 'application/json' } });
+ if (!res.ok) throw new Error(`HTTP ${res.status}`);
+ const data = await res.json();
+ return {
+ entries: Array.isArray(data.entries) ? data.entries : [],
+ complete: data.complete === true || !('complete' in data),
+ };
+ }
+
+ function walkEntriesIn(all) {
+ return all.filter(isWalk).sort((a, b) => String(b.date).localeCompare(String(a.date)));
+ }
+
+ // Paint from the 150-entry window first (~138 KB), then quietly complete
+ // the history from the full feed (870 KB). Everything the upgrade adds is
+ // strictly older than what is already on screen, so it renders below the
+ // fold and nothing above it moves.
async function load() {
try {
- const res = await fetch('/changelog.json', { headers: { accept: 'application/json' } });
- if (!res.ok) throw new Error(`HTTP ${res.status}`);
- const data = await res.json();
- const all = Array.isArray(data.entries) ? data.entries : [];
- const walk = all
- .filter(isWalk)
- .sort((a, b) => String(b.date).localeCompare(String(a.date)));
- render(walk);
+ const recent = await fetchFeed('/changelog-recent.json');
+ render(walkEntriesIn(recent.entries));
+ host.setAttribute('aria-busy', 'false');
+ if (recent.complete) return;
+ const full = await fetchFeed('/changelog.json');
+ const complete = walkEntriesIn(full.entries);
+ if (complete.length > walkEntriesIn(recent.entries).length) render(complete);
+ return;
+ } catch {
+ /* Fall through to the full feed: it is the only source that is
+ guaranteed to exist on every deploy. */
+ }
+ try {
+ const full = await fetchFeed('/changelog.json');
+ render(walkEntriesIn(full.entries));
} catch (err) {
host.innerHTML =
'<p class="wd-cl-state">Couldn\'t load the changelog right now. ' +
diff --git a/public/features.json b/public/features.json
index 9d91c635f..64a13b6f5 100644
--- a/public/features.json
+++ b/public/features.json
@@ -1,5 +1,5 @@
{
- "generated_at": "2026-09-08T17:31:11.467Z",
+ "generated_at": "2026-09-08T17:33:15.872Z",
"generated_by": "scripts/build-page-index.mjs from data/pages.json",
"site": {
"name": "three.ws",