4 ms·
What about using whatever engine you want, then extract static pages with a script using good ol' wget -r ?
by wazoox 10y ago
What about using whatever engine you want, then extract static pages with a script using good ol' wget -r ?
- vidarh 10y agoI sort-of-but-not-quite did this when migrating my old dynamic site to static generation: I used my model API to build a list of all the pages and then faked requests by building my own request objects that I called my Sinatra app with. Made for a quick and dirty way of reusing my old code, and means I can still run the dynamic version for dev/testing.