Skip to content

Feature Request: Have an auto update ttl for downloaded taskfiles #1402

@c-ameron

Description

@c-ameron

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: remoteChanges related to remote taskfiles.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions