Momento announces $15M Series A funding. Topics event bus released for general availability. Read more →

What type of data can I store in a cache?

All data stored in Momento Cache can be provided as a string or byte array. Check out the API reference in Docs for more details, but here’s a quick summary.

  1. Scalar values: simple string/byte arrays
  2. Dictionary: Key/value object storage allowing you to fetch all or subset of data with a single call
  3. Set: An array of unique elements
  4. Sorted Set: A score-based array of strings that automatically sorts by score
  5. List: An ordered array of strings