Cache icon

Cache

Caches items

Actions2

Write

AI-generated

Summary

Write multiple input items' data and binary content to a specified cache bucket in MinIO storage under unique keys derived from provided key parameters.

Inputs

  • bucket (required) — Name of the cache bucket in MinIO to store the cached items. Must exist prior to writing.
  • key (required) — One or more strings used to uniquely identify the cache entry; combined and hashed internally to create the storage key.
  • disabled — Boolean flag to disable writing to the cache for given input items; when true, the item is not cached.

Output shape

a single output named 'main' emitting all input items.

The node writes each input item individually to the specified bucket using a SHA256 hash of the provided keys as cache key prefix under the pattern '//item.json' for JSON data, and '/' for any binary data. If the bucket does not exist, execution throws an error. There are no outputs differentiating cached or not since this is a write operation.

Links

Discussion