Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
cache: transient plugins #2269
@mpranj we forgot that the global cache will not work at all if a single resolver is always out-of-date.
For example, if someone has mounted the "noresolver" plugin (e.g. to work with the "uname" plugin), we would always throw away the cache.
Yes, for example the "constants" plugin actually should be even part of the default backends. So we need a solution for the "noresolver".
Of course we do not need a solution for every possible backend. For example, we might be able to live without backends returning random numbers or a timestamp (if having this conflicts heavily with a good mmap solution). At the moment we do not have such backends anyway. But of course we would need to document such limitations even if they do not limit any of the current plugins.