Adding ignore value to enum for clearCache and fromCache as well as bug fix