News for hackers. Stuff that matters.
Re:Show HN: Mmm.page – Drag and drop personal website creator by debaserab2 on Wednesday May 12, 2021 @03:27PM (#27134202)
Serializing the user's session state to LocalStorage comes to mind as a reasonable solution. Comes with it's own caveats, of course (you now have a state versioning problem), but addresses all the points you bring up pretty adequately:

1. As long as their on the same device/browser, they lose zero data. This is a pretty reliable happy-path use case.

2. The only onslaught you'll deal with is simple pageviews since everything in the trial is stored client side, which also makes #3 no problem.

Re:Show HN: Mmm.page – Drag and drop personal website creator by PinkPigeon on Thursday May 13, 2021 @06:07AM (#27140437)
Very good point about LocalStorage, I haven't explored that avenue yet.

Re your second point, unfortunately with my product this works a bit differently. I'm generating static websites in the background, as part of a realtime-preview functionality. That, unfortunately leads to reasonably high server load.

I'll have to have a think about how to approach that in the future :)