Functional toggle for cache