As discussed here, it would be great to have an auto-cache-ttl setting for downloaded taskfiles.
Context:
I am wanting to use the remote features to have a standard set of taskfile includes across my org.
For me, I would like it to download first, then by default always use the cache. I run taskfile a lot, (multiple times a minute if I'm running a debugging command like task test -- feature/a ), so having extra network overhead wouldn't be useful.
I understand that there is work on on offline flag, but using that would mean my taskfiles would need manual updating.
Having some kind of auto-update-ttl would allow users to have the fast latency of not fetching every task run, but also allow automatic updates in a soft manner.
Thanks for all your hard work on this great tool!
As discussed here, it would be great to have an auto-cache-ttl setting for downloaded taskfiles.
Context:
I am wanting to use the remote features to have a standard set of taskfile includes across my org.
For me, I would like it to download first, then by default always use the cache. I run taskfile a lot, (multiple times a minute if I'm running a debugging command like
task test -- feature/a), so having extra network overhead wouldn't be useful.I understand that there is work on on offline flag, but using that would mean my taskfiles would need manual updating.
Having some kind of auto-update-ttl would allow users to have the fast latency of not fetching every task run, but also allow automatic updates in a soft manner.
Thanks for all your hard work on this great tool!