Skip to content

Commit

Permalink
Update eviction_policy details
Browse files Browse the repository at this point in the history
  • Loading branch information
sgrebnov committed May 26, 2024
1 parent e25d228 commit 640af4b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions spiceaidocs/docs/features/caching/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,5 @@ runtime:

- `enabled` - optional, `true` by default
- `cache_max_size` - optional, maximum cache size. Default is `128MiB`
- `eviction_policy` - optional, cache replacement policy when the cached data reaches the `cache_max_size`. Default is `lru` - [least-recently-used (LRU)](https://en.wikipedia.org/wiki/Cache_replacement_policies#LRU)
- `eviction_policy` - optional, cache replacement policy when the cached data reaches the `cache_max_size`. Default and only currently supported value is `lru` - [least-recently-used (LRU)](https://en.wikipedia.org/wiki/Cache_replacement_policies#LRU)
- `item_ttl` - optional, cache entry expiration duration, 1 second by default.

:::warning[Limitations]
- Cache currently supports only the [least-recently-used (LRU)](https://en.wikipedia.org/wiki/Cache_replacement_policies#LRU) replacement policy.
:::

0 comments on commit 640af4b

Please sign in to comment.