snapshot() clears persistent cache as well