reduce caching codepaths