working for cache mixin.