storage: don't cache head block by default

only instances that add new blocks should enable this,
otherwise your head won't get updated if blocks are added by someone else.
fix #get_name_hash