interface GetCacheRequirements
Used by Teller to determine what chunk of cache to fetch and query.
abstract var tag: GetCacheRequirementsTag
Unique tag that drives the behavior of a OnlineRepository. The tag needs to describe (1) the type of cache being stored (example: friend, friend request, song, user profile, etc) and (2) identity the fetch call to obtain this cache. Example: "FriendRequests_page1" for paging, "UserProfile_user2332" for a query param. Teller uses this tag to determine how old some particular cache is. If it's too old, new cache will be fetched. |