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 user data #497

Open
lgrahl opened this issue May 19, 2018 · 2 comments
Open

Caching user data #497

lgrahl opened this issue May 19, 2018 · 2 comments

Comments

@lgrahl
Copy link
Contributor

lgrahl commented May 19, 2018

Yep, this is going to be a very controversial idea but bear with me. We could cache user data, so it doesn't need to be requested from the Threema app every time. This could be beneficial for preview images, images in general, voice messages, videos and potentially even for the conversation history.

Now, you may say this is a preposterous idea and what on earth am I thinking because my original design tried very hard to prevent exactly that: Having the user data in several places. But what if this data is encrypted twice, first by the session password and then by a secret key that needs to be requested from the app? And this should of course be an optional feature.

@dbrgn
Copy link
Contributor

dbrgn commented May 21, 2018

Synchronization would be quite challenging, since the app would first need to know what information is available.

@lgrahl
Copy link
Contributor Author

lgrahl commented May 22, 2018

UUIDs could be used for that. IIRC they have already been used for several items in the database.

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

No branches or pull requests

2 participants