nebulex icon indicating copy to clipboard operation
nebulex copied to clipboard

Support cache refreshing in the background

Open ryanlchandler opened this issue 1 year ago • 3 comments

It would be useful to have the cache refresh in the background to avoid paying the cost of a cache miss. Coming from the Java world I'm thinking of something like Google's caching library - https://github.com/google/guava/wiki/CachesExplained#refresh

ryanlchandler avatar Jun 10 '24 21:06 ryanlchandler

Looks interesting. Not sure if something similar can be achieved using the caching decorators. I'll definitely take a look at it. Thanks!

cabol avatar Jun 11 '24 06:06 cabol

Oh, I have a boilerplate which I add in every one of my projects for cache warmup in background. I can share it, but it's hacky

hissssst avatar Dec 03 '24 12:12 hissssst

@hissssst Sure, that would be helpful. At least we can have an initial idea. Also, I'm considering this but for Nebulex V3.

cabol avatar Dec 03 '24 19:12 cabol