Adds the file-based cache to non-thread-safe conditions.