store all locals to memory_store on pushstate (so it works exactly like backend hit)