5 ms·
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. Th
by dhruvkar 7y 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).
- sethammons 7y agoVery 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.
- thijsvandien 7y agoWhile that's a fine thing to do, I don't know how it helps with any of the things listed by OP.