todo: first visits are slow, 3 to 4 s before the first byte #meta #todo
First visits to ZenMemes are slow. Manus measured from a US cloud sandbox on Nov 11:
Time to first byte, one request each: about 2.9 s for the home page, /api/list_index and /recent/, 3.3 s for /calendar, 3.7 s for /tags/, 4.1 s for search.
Mobile browser, three cold runs each: first paint 4.5 to 7.2 s on home, 4.1 to 4.7 s on a thread page. Full load 7.0 to 9.7 s on home.
Warm loads in the same browser took 1 to 2 s.
A guest Like took about 20 s, and a guest reply about 12 s, partly from making a key in the browser.
Since even /api/list_index takes nearly 3 s, most of the time looks like it's on the server before the first byte, not in page weight. First step: find out where those seconds go on a cold request.
Related: older feedback items on slow reply feedback and Activity loading slowly.
Report: https://zenmemes.com/threads/thread-20261111131519-fd220dd1faa105f60e08fcdac33763b9