Hi,
Does Cesium for Unity implement an on-disk cache for network requests, as discussed in this thread? If so, could you please let me know where this cache is stored?
Regards,
Hi,
Does Cesium for Unity implement an on-disk cache for network requests, as discussed in this thread? If so, could you please let me know where this cache is stored?
Regards,
Hi
AFAIK
if your OS is windows
C:\Users\ {User Name}\AppData\Local\Temp\ {Company Name}\ {Product Name}\cesium-request-cache.sqlite
for example cesium-unity-samples project.
C:\Users\ {User Name}\AppData\Local\Temp\Cesium\cesium-unity-samples\cesium-request-cache.sqlite
If this is wrong somebody please reply to this thread
Thanks, I was able to locate it.
Is it possible to set a maximum disk size for it? It’s currently using up to 4GB, I’d like to limit it to 2GB.
Hi @jqntn,
There’s currently no way to limit it to a particular size, but you can adjust the maximum number of requests it will store, which will indirectly affect the size.
To change the number of cached items, find the CesiumRuntimeSettings
under Assets → CesiumSettings → Resources and change “Max Items” to a small number.