Whether or not auto clear cache when storage ran out, this property only works on mini-game platforms
The name of cacheDir
Whether or not cache asset into user's storage space, this property only works on mini-game platforms
The interval between caching resources, this property only works on mini-game platforms, unit: ms
List of all cached files
The interval between deleting resources, when you use cleanLRU
, the resources will be deleted as this interval, unit: ms
Clear all caches, please use with caution, If necessary, we recommend using it before the game is launched
Clear part of caches with LRU strategy
Get cached path with origin url
The cached path
Get temporary path with origin url, this method only works on mini-game platforms
The temp path
Remove cache with origin url
Generated using TypeDoc
Cache manager is a module which controls all caches downloaded from server in non-web platform, it is a singleton All member can be accessed with
cc.assetManager.cacheManager
.