switch on cache