mirror of
https://github.com/bbara04/Purefin.git
synced 2026-07-23 19:26:50 +00:00
Introduce an OkHttp interceptor that caches ETags from home-refresh endpoints and throws NotModifiedException on 304, allowing callers to reuse cached data. Wire it into the Jellyfin SDK via a dedicated @JellyfinSdkClient OkHttpClient. Update API methods to return null on 304, and update InMemoryAppContentRepository to keep existing state when null is returned. Persist dateLastMediaAdded from /UserViews in HomeCache to short-circuit unchanged /Items/Latest calls.