mirror of
https://git.nadeko.net/Fijxu/invidious.git
synced 2025-12-24 20:08:50 +00:00
Summing the sizes of each cached file every time is very inefficient. Instead we can simply store the cache size in an constant and increase it everytime a file is added into the cache.