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

Caching recommendations / affordances #47

Open
NoelDeMartin opened this issue Sep 4, 2022 · 0 comments
Open

Caching recommendations / affordances #47

NoelDeMartin opened this issue Sep 4, 2022 · 0 comments

Comments

@NoelDeMartin
Copy link

In the discussion at #40, we've talked about caching profiles as a way to reduce network requests in subsequent visits to an app. That, however, introduces the dilemma of when to invalidate the cache.

Given that we're considering giving recommendations on how to handle profiles in apps (for example, saying that apps should fetch all the documents), I wonder if we should also give recommendations on how to cache and invalidate this data.

Furthermore, having into account that it's impossible to really know when something has changed, it may be useful having some triples indicating the last time anything in the profile was updated. That way, apps could cache a profile indefinitely until this value changes and this could be checked with a single request. This is similar to something we've already been discussing in the Solid spec: solid/specification#227 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant