Re:Instant Web Application
by NickNameNick on Friday January 01, 2016 @09:08PM
(#10824609)
Surely that would open you up to the worst possible kinds of XSS.
You're suggesting people send their html back to the server when they've finished reading it.
Actually I thought it would go back to the server immediately after loading and rendering. Having more time to think about it, I think maybe it's a stupid idea. You could render it in the server with ghost or something just as easily.
It would be very interesting to explore just sending the newly created page back to the server and then using it for new page loads. The state could be updated after the load. Code is needed to update the state anyway in normal usage.