I have a page that, on save, I'd like to render and spit out to a static file, using the front end (not the control panel) theme. How would I go about doing this?
I think the easiest way would be using an event or observer to make a get request to the front end and capture the page content that way. Be it the content only or full response text.
Okay I was wondering if that might be the best idea. It's a tiny bit hacky, but I think it should be okay :)