Durable local storage proposal

This is a proposal for #598


I'll TAL  after next push