smelt.http.cache¶
Tier: Host - Available in every runtime, including headless mode.
Visibility: Public - Stable Lua API intended for user config and plugins.
Process-wide HTTP response cache. Plugins can stash bodies under arbitrary keys to dedupe repeat fetches across a session.
smelt.http.cache.read¶
Look up a cached HTTP response by key. Returns the stored string or nil if no entry exists.
smelt.http.cache.write¶
Store value in the HTTP response cache under key.