key typization and expiration for hierarchical cache.
invalidation fix.