Skip to content

Add the ability to cache large downloads #9

Description

@lavocatt

We can enable caching for bash chunks.
The idea would be:

  • if cache=true
    • hash the content of the chunk
    • get the folder in which it executed and create a tar archive
    • when encountering a same chunk having a similar hash
    • restore the archive in the directory before executing the chunk

options with wget can then be used to ignore already downloaded files

cache directory can be in ~/.cache/markdown-runner

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions