CachingDirectives
Attributes
- Source
- CachingDirectives.scala
- Graph
-
- Supertypes
- Self type
-
CachingDirectives.type
Members list
Value members
Concrete methods
Wraps its inner Route with caching support using the given Cache implementation and keyer function. Note that routes producing streaming responses cannot be wrapped with this directive.
Wraps its inner Route with caching support using the given Cache implementation and keyer function. Note that routes producing streaming responses cannot be wrapped with this directive.
Attributes
- Source
- CachingDirectives.scala
Wraps its inner Route with caching support using the given pekko.http.caching.scaladsl.Cache implementation and keyer function.
Wraps its inner Route with caching support using the given pekko.http.caching.scaladsl.Cache implementation and keyer function.
Use pekko.japi.JavaPartialFunction to build the keyer.
Attributes
- Source
- CachingDirectives.scala
Passes only requests to the inner route that explicitly forbid caching with a Cache-Control header with either a no-cache or max-age=0 setting.
Passes only requests to the inner route that explicitly forbid caching with a Cache-Control header with either a no-cache or max-age=0 setting.
Attributes
- Source
- CachingDirectives.scala
Creates an LfuCache
Creates an LfuCache
Default settings are available via pekko.http.caching.javadsl.CachingSettings.create.
Attributes
- Source
- CachingDirectives.scala