davinci
davinci copied to clipboard
Cache Expiration
@shamsdev
Hi Mohammad and thanks for your great work! It's a really recommended feature that was absent in the Unity environment. Thank you.
I had one question:
Mobile base image caching libraries like Kingfisher in iOS or (Glide, Picasso) in Android have features for expiring the old cache images to keep to the total size of the cached image as small as possible. I had to write a plugin for Unity to download images using these libraries first, and pass the ByteArray to the Unity to load the images. So, Do you remove old images or apply any cache limits (by setting a number of cached images for example 100 at Maximum) using the LRU
algorithm?
I think this is a very important feature to keep the game smooth, elegant, and lightweight, especially in the App environments. As you know we have memory limit there! Thanks!