check for cache state (on|off)