Hacker News new | ask | show | jobs
by dhruvkar 2378 days ago
I've been using Python to generate a static Hugo site from a (sort of) CRM API.

Mainly because there's no real API, and there's a just a bunch of scrapers.

The funny upside has been that customers really like the speediness of our "real time inventory" (it's a re-generated Hugo site every 25 minutes).

2 comments

Very similar to something I crafted up back in maybe 2003. The site was slow to load due to a bunch of sql queries on under powered hardware. Updated it to take a "snapshot" of the front page ever 10 minutes and make that the live version. Serving static content was so much better of an experience.
While that's a fine thing to do, I don't know how it helps with any of the things listed by OP.