mirror of
https://git.nadeko.net/Fijxu/invidious.git
synced 2025-12-14 09:05:09 +00:00
Video information from youtube always weight about ~60KB uncompressed. When using Deflate to compress that information, it gets compressed down to ~15KB, so now you will be able to store up to 4x entries more with caching enabled. For context, nadeko.net Invidious instance stores 54.7k keys, since we also store the `time` in a different key associated to the video ID, the real count of videos cached would be 27.3k. With compression enabled, the Redis database will be able to store up to 4 times more videos in cache, which is 109.2k videos cached. Pretty cool huh.