Revert "Cancel the creation of the cache may cause open file failed"

This reverts commit bc0e119dfa9c50ec0490fe2a0e36eb7aceee50cf.