tsdocs icon indicating copy to clipboard operation
tsdocs copied to clipboard

Slow build/load time on first release of a package

Open JoshuaKGoldberg opened this issue 1 year ago • 0 comments

Upon publishing a new version of an npm package, it seems like initial versions of the package take a while to build before they're cached. For example, when https://tsdocs.dev/docs/ts-api-utils/1.2.0 was released just now, on visiting https://tsdocs.dev/docs/ts-api-utils for the first minute or it would stall and maybe eventually give a Cloudflare 524 timeout. Now both pages are working fine.

Separate from giving a better response while the build is happening (#45): are there opportunities to speed it up?

(btw, I do see https://github.com/pastelsky/tsdocs/issues/28#issuecomment-1890998054 - just filing an issue to ask about & track this 🙂)

JoshuaKGoldberg avatar Feb 05 '24 15:02 JoshuaKGoldberg