HeimdallTV / heimdall

Reverse Engineered Client for Youtube, Twitch, Nebula, Curiosity Stream, PeerTube, Piped, Floatplane and more!
https://heimdall.tv
5 stars 1 forks source link

Youtube - Caching #7

Open Saghen opened 8 months ago

Saghen commented 8 months ago

Must be able to:

Nice to have:

Urql's graphcache solves almost all these problems but it would require using GraphQL. Also, it would be complex since some data is optional depending on the entry point (i.e. subscriber count is available when getting recommended videos on youtube). This means the provider would need to define what properties are available to the consumer which is the opposite of the GraphQL. It might be possible to write individual schemas or use directives but this complexity may not be worth it