Re:Show HN: I built developer tooling for the Airtable API t...
by goksan on Wednesday March 29, 2023 @03:53AM
(#35353963)
Hey no worries, happy to share :)
I should mention that the terms are fetched via an external API, I think that API failing temporarily caused the issue you were observing.
You’re right, static generation would have avoided the issue. Alternatively, I could be caching the response for a period. I’ve also got HAProxy in front of the application servers, but haven’t explored it’s caching capabilities.
To be honest my curiosity was more of an engineering itch, what kind of setup would exhibit the failure mode I observed (a specific static route timing out).
Have you considered rendering HTML pages statically to avoid situations like this?
(By the way don’t let this conversation distract you from focusing on your product, your website is already excellent! And I appreciate you taking the time to reply :)