Re:Pre-rendering static websites with the 23 year-old wget c...
by thedanbob on Tuesday August 27, 2019 @05:10PM
(#20814434)
I did exactly this with a rails project once, called render_to_string on each page I was interested in and saved them as HTML files. The wget method is clever but I agree, working within the same system makes the most sense.
[ Parent
| on HN ]
Re:Pre-rendering static websites with the 23 year-old wget c...
by zeroimpl on Tuesday August 27, 2019 @10:45PM
(#20816421)
If you are using a web framework designed for dynamic processing - think something like Java servlets/JSP, or in the authors case Go - it's often non-trivial to find/implement a render_to_page function, let alone enumerate all possible pages.