Remove dummy code.
Fix comments.
Fix promise usage.
Save uuid in tmp post data, to be consistent with other post structure.
Add another pouch db to save html tmp data of the posts.
Flush all the tmp data when user logout, html page shall also be flushed, since login user can see some private posts, and it's cache shall be removed.