Update cache configuration documentation and references#10859
Merged
alexcrichton merged 1 commit intobytecodealliance:mainfrom May 29, 2025
Merged
Update cache configuration documentation and references#10859alexcrichton merged 1 commit intobytecodealliance:mainfrom
alexcrichton merged 1 commit intobytecodealliance:mainfrom
Conversation
Remove references to deprecated cache config methods and update to use the new simplified `Config::cache` API. Also remove the mandatory `enabled` field from cache configuration documentation since all cache settings are now optional.
zshipko
pushed a commit
to extism/extism
that referenced
this pull request
Jun 18, 2025
Hello, I encountered an error when trying to enable caching in my project, I could not compile any Plugins due to a bad configuration file used by the wasmtime crate (`failed to parse config file`). I managed to find understand the error after seeing [some changes made by wasmtime](bytecodealliance/wasmtime#10859) and its documentation. I was simply missing the `enabled` key from the configuration, that has been removed from `wasmtime` (and its [cache sister crate](https://github.com/bytecodealliance/wasmtime/tree/main/crates/cache)). So I added more information in the README regarding this specific issue, and some extra behaviour that I noticed would happen regarding caching configuration. Hopefully this is helpful!
bongjunj
pushed a commit
to prosyslab/wasmtime
that referenced
this pull request
Oct 20, 2025
…ance#10859) Remove references to deprecated cache config methods and update to use the new simplified `Config::cache` API. Also remove the mandatory `enabled` field from cache configuration documentation since all cache settings are now optional.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Remove references to deprecated cache config methods and update to use the new simplified
Config::cacheAPI. Also remove the mandatoryenabledfield from cache configuration documentation since all cache settings are now optional.Follow-up to #10665