Improvce cache (hash) performance of session's read cache

just pre-calculate hash code