CacheStrategy
org.http4s.server.staticcontent.CacheStrategy
Cache the body of a Response for future use
A CacheStrategy acts like a after filter in that it can look at the Response and Uri of the Request and decide if the body for the response has already been cached, needs caching, or to let it pass through.
Attributes
- Source
- CacheStrategy.scala
- Graph
-
- Supertypes
- Known subtypes
-
class MemoryCache[F]class NoopCacheStrategy[F]
Members list
In this article