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 purging issue #263

Open
sepehr-safari opened this issue Aug 23, 2024 · 0 comments
Open

Cache purging issue #263

sepehr-safari opened this issue Aug 23, 2024 · 0 comments

Comments

@sepehr-safari
Copy link
Contributor

we need a way to automatically purge deleted events (from relays) from the cache.

assume that we have this scenario:

  1. we open the app and it fetches all events of kind 7
  2. the cache system (NDK-cache-dexie) saves these events in db.
  3. we close the app.
  4. someone deletes his kind 7 events.
  5. we open the app again and his deleted events are still there in the app!

how can we sync our cache db with the real data out there?

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