On this page
Otter
What is Otter
Otter is a high performance lockless cache for Go. Many times faster than Ristretto and friends.
Github repository
https://github.com/maypok86/otter
Use Otter
With Caddy
You have to build your caddy instance including Souin
and Otter
using xcaddy
(refer to the build caddy section).
You will be able to use otter in your Caddyfile or JSON configuration file.
Configuration
You can find the configuration for Otter with the values table below.
By default the cache size is for 10_000 elements.
Values
Key name | type | required |
---|---|---|
size | int | ❌ |