Hacker News new | ask | show | jobs
by jonahx 3 days ago
I love plain text services. One of their benefits is near instant load time. A nitpick, but this takes a few seconds to load on a fast broadband connection for me. I get the delay even refreshing the same page, where I'd expect the cache to be hit.
2 comments

Sorry about this, and thank you for the heads up. The site runs as a PocketBase instance on a small 512mb DigitalOcean droplet in their London DC, and is getting more load than usual at the moment.

I’ll take a look though at whether there’s anything causing fundamental slowness in the cache read / page rendering pipeline.

Looking at chrome dev tools, it looks like it might be the custom font causing the delay. I'm not sure exactly why though.
Interesting, I’d have naively assumed that’d be cached after first load by Chrome. Definitely one to investigate further.
Might as well drop custom fonts? This minimalist site would be fine with built in font families.

I recommend run Google Lighthouse for a single visitor view of perf and then use a load testing tool (locust, jmeter etc. to check load handling)

If you want to that is :)

Use the system font stack
Weird, on my iPhone it loaded instantly.