script.module.simpleplugin
script.module.simpleplugin copied to clipboard
cache performance issues
Some users do report a cache performance issue with your plugin.
It seems that it is not correctly cleared when it is expired; is that a known issue ? See https://github.com/rickybiscus/plugin.video.auvio/issues/22
Thanks !
I suspect that the problem is in speed of reading the file from disk/flash. With each call of the function, the file is read from disk/flash and then the cached data is searched in the readed data. Try using mem_cached decorator instead of the cached decorator. It saves data to the Kodi memory and access to this information will be faster.