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

Cache for appOwnershipCached #385

Open
Revadike opened this issue Feb 1, 2022 · 1 comment
Open

Cache for appOwnershipCached #385

Revadike opened this issue Feb 1, 2022 · 1 comment

Comments

@Revadike
Copy link
Contributor

Revadike commented Feb 1, 2022

Unless I'm missing something, instead of always requesting the product info of all owned games at the start of logging in (when this option is set), we could use cached product info saved on disk and only refresh the ones with an outdated changenumber?

For someone with my library size, waiting for appownershipcache takes several minutes. Not to mention, the large amount of data I have to request from Steam every time.

@Revadike
Copy link
Contributor Author

Revadike commented Mar 9, 2022

Related to #188

There, you worried about picsCache not being accessible synchronously. However, you can keep picsCache in memory, as usual, but also asynchronously save it to file. Only read the cached files into memory upon startup.

@Revadike Revadike mentioned this issue Mar 9, 2022
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant