Switch to file cache handler when cache is disabled