Skip to content

Option to turn off and clear automatic module caching to ~/.cache/wasmtime/modules/wasmtime- #9103

@guest271314

Description

@guest271314

Thanks for filing a feature request! Please fill out the TODOs below.

Feature

Option to turn off and clear automatic module caching to ~/.cache/wasmtime/modules/wasmtime-.

Benefit

When testing the contents of ~/.cache/wasmtime/modules/wasmtime- can continue to grow exponentially.

Implementation

Add an option to

  1. Run the .wasm file directly without caching
  2. Option to automatically remove the cached folders and files after the .wasm file is run
  3. Option to remove the contents of wasmtime cached modules, e.g., with Bun we can do bun pm cache rm

Alternatives

Unknown.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions