| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
Measured after a restart: a link-preview crawler still got the plain page after 6 s, because nostr-tools starts maxWait only once a socket is open and a relay slow to connect held the build open. query() now stops at maxWait from the ask itself; a cold post page built for TelegramBot in 3.7 s (was over 6 s), a browser still gets its page at 0.65 s. BOT_BUDGET_MS 7.5 s covers a reply's three rounds (2.5 + 2.5 + 2 s); nginx on cs allows the note/profile routes 10 s (was 3 s, which cut crawlers short).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VMan6WoqaQDYdpWkatPCar
|
| |
|
|
|
|
|
|
|
| |
shared card shows the post.
"can we add some meta tags that would show a better title/description/content preview for posts when i link to them on social media?" (Adam, 2026-12-04, with a Telegram card for his fresh nevent link showing the generic Coinos card). The post pages already carry the author as og:title, the text as og:description and the post's picture or the author's face as og:image, but a post the server hadn't cached got 500 ms (profiles 2 s) before the plain page went out, and a post shared right after it was written misses that: Telegram fetched it once and kept the site's card. Link-preview crawlers (Telegram, X, Facebook, WhatsApp, Slack, Discord, LinkedIn, Mastodon & co, search bots: isPreviewBot) now get up to 6 s; people keep the short wait.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VMan6WoqaQDYdpWkatPCar
|
| |
|
|
|
|
| |
the site card as the fallback picture (same as coinosv3 f3a3d88)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
| |
|
|
|
|
|
|
|
|
| |
/nprofile1… and /<name> with the kind 0, latest posts, follow counts and mentioned faces inlined (stale-while-refresh cache, 2 s budget), the app seeds its caches from it, and the big avatar never flashes punk art while a lookup runs
A cold visit to a profile link showed a punk, '–' counts and no posts for 9 s.
Server-side relay answers settle once events stop arriving (idle 400 ms)
instead of waiting out a relay that never sends EOSE: a cold build is ~1.9 s.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
|
|
The server renders /nevent1 and /note1 pages with the thread inlined
(post, root, replies, kind 0s) and Open Graph tags; the client seeds its
thread cache from it and opens the thread on the first paint. Without
it, a pending frame holds the screen instead of the front door. Profile
lookups ask our relays and the profile indexes at once, streamed,
instead of one after the other behind five-second waits. A thread
opened straight from a link has no Back button.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|