mirror of
https://github.com/iv-org/invidious.git
synced 2025-12-25 13:12:23 -05: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. |
||
|---|---|---|
| .. | ||
| helpers/vtt | ||
| http_server/handlers | ||
| invidious | ||
| i18next_plurals_spec.cr | ||
| parsers_helper.cr | ||
| spec_helper.cr | ||