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

Smarter cache refresh #3

Open
zer0tonin opened this issue Feb 16, 2024 · 0 comments
Open

Smarter cache refresh #3

zer0tonin opened this issue Feb 16, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@zer0tonin
Copy link
Owner

Right now, whenever a Create/Remove/Rename event happens, we simply invalidate the whole cache and re-create it. This could be improved by changing the cache to match the effects of the event.

Code in question: https://github.com/zer0tonin/Mikochi/blob/main/backend/browser/cache.go#L75

@zer0tonin zer0tonin added the enhancement New feature or request label Feb 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant