dimo414 / bash-cache

Transparent caching layer for bash functions; particularly useful for functions invoked as part of your prompt.
GNU General Public License v3.0
73 stars 4 forks source link

Improve cache-warming support #18

Open dimo414 opened 4 years ago

dimo414 commented 4 years ago

bc::warm::my_function can be used to asynchronously warm a cached value, but there's no built-in support for triggering warming (e.g. on a schedule). It would be nice to be able to indicate than a function should be "kept warm" by calling warm on some sort of schedule.

Some tangential ideas in this answer around IPC in Bash.

dimo414 commented 1 year ago

@kumy you might have thoughts on this FR too.