-
Notifications
You must be signed in to change notification settings - Fork 18
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 project and permissions data on startup #468
Comments
We probably could. This would require creating a UserProfileV1 for each registered user and storing it into the cache when But I will investigate this further (after the release). |
I think it probably doesn't make sense to do this for users (because there will be a lot of them), but I was thinking it could make sense to do it for project data and permission data (which there isn't so much of). |
Yes, I agree. Caching projects and permissions is on my to-do list, but I wanted to finish implementing these responders first. |
Currently I believe project and permissions data are loaded from the triplestore and cached as they are requested. This seems to make the first login slower than subsequent logins. Would it be possible to load this data and cache it when Knora starts, the way we do with ontology data?
cc @tobiasschweizer
The text was updated successfully, but these errors were encountered: