I can live for now with what we have. I am waiting for 0.7 to be released then I hope my issue will be fixed. I just thought you guys want to know about the issue I am experiencing.
SOLVED Reset cache
I'm working on one plugin, that uses
As I can see, when I'm updating plugin settings, I assume because of cache, updates doesn't reflect.
I think I can reset cache (module
cache.reset()), so user doesn't need to reload/restart nodebb.
Is it a good idea?
Yes you can empty the entire cache with
cache.reset()or remove specific posts by
cache.remove(pid);Although doing it too frequently will affect performance.
Don't see anymore option to resolve question Only
@baris refactored the post tools and topic tools to load on demand for perf reasons, so I think the plugin needs to be updated for this change