Support turn on/off cache-function