Utilize LocalStorage and use a polling mechanism on the JavaScript side that saves a user's post every x seconds. If the user refreshes the page on accident, they will have some of their progress saved into the LocalStorage cache. Clear the cache once the user hits submit.
Utilize LocalStorage and use a polling mechanism on the JavaScript side that saves a user's post every
x
seconds. If the user refreshes the page on accident, they will have some of their progress saved into the LocalStorage cache. Clear the cache once the user hits submit.