Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf(general): Add session cache and LZW compression #663

Merged
merged 4 commits into from
Jun 3, 2024

Conversation

LuanRT
Copy link
Owner

@LuanRT LuanRT commented Jun 3, 2024

Description

This adds caching for sessions and LZW compression to reduce the size of the cached files.

This should improve performance quite a bit for those who are not using the `generate_session_locally` option (like me :P).
This considerably reduces the size of the cache.
@LuanRT LuanRT merged commit cf29664 into main Jun 3, 2024
4 checks passed
@LuanRT LuanRT deleted the feat/session-cache-and-lzw-compression branch June 3, 2024 21:22
@absidue
Copy link
Collaborator

absidue commented Jun 3, 2024

Just leaving a note here for myself to remind myself to block writing the innertube_session_data cache key in FreeTube (we want the player cache, but definitely don't want to reuse the session in a privacy friendly app), I'll also need to add a wrapper around UniversalCache to block it outside of Electron too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants