cache refactor
cache configs refactor