mirror of
https://github.com/iv-org/invidious.git
synced 2026-02-06 07:59:00 +01: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. |
||
|---|---|---|
| .. | ||
| static_assets_handler | ||
| static_assets_handler_spec.cr | ||