Open zer0tonin opened 5 months ago
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
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