Checks the cache configuration