This documentation regards version 10.1, however the current version is 10.7.0.
CachingDirectives
Use these directives to “wrap” expensive operations with a caching layer that runs the wrapped operation only once and returns the the cached value for all future accesses for the same key (as long as the respective entry has not expired). See caching for an introduction to how the caching support works.
Dependency
To use Akka HTTP Caching, add the module to your project: