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

Add caching #128

Open
niehusst opened this issue Jan 5, 2021 · 1 comment
Open

Add caching #128

niehusst opened this issue Jan 5, 2021 · 1 comment
Labels
enhancement New feature or request research something to look into
Projects

Comments

@niehusst
Copy link
Owner

niehusst commented Jan 5, 2021

Caching could be extremely useful for both Host and Guest users;

  1. (possibly) minimizing the number of network requests the Host hast to make (though at the cost of cache IO) is ideal
  2. seeing if Guests can fulfill their own requests from local cache (like if they page back and forth in their search a bunch) before making the Host redo work would also be excellent
@niehusst niehusst added enhancement New feature or request research something to look into labels Jan 5, 2021
@niehusst niehusst added this to To do in The app v1 via automation Jan 5, 2021
@niehusst
Copy link
Owner Author

niehusst commented Jan 5, 2021

okhttp has some caching options already built in https://medium.com/@tsaha.cse/advanced-retrofit2-part-1-network-error-handling-response-caching-77483cf68620
but this wouldn't save the Host from having to respond to repeat reqs from Guests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request research something to look into
Projects
Development

No branches or pull requests

1 participant