CacheStrategy that will cache all Response bodies in local memory
This is useful when serving a very limited amount of static content and want to avoid disk access.
- Companion:
- object
Value members
Concrete methods
MemoryCache.this.logger.debug(_root_.scala.StringContext.apply("Cachemiss:","").s(resp))
MemoryCache.this.collectResource(uriPath,resp)(F)
}elseF.pure[Response[F]](resp)" class="documentableAnchor">
override def
MemoryCache.this.logger.debug(_root_.scala.StringContext.apply("Cachemiss:","").s(resp))
MemoryCache.this.collectResource(uriPath,resp)(F)
}elseF.pure[Response[F]](resp)" class="documentableName ">cache(uriPath: Path, resp: Response[F])(implicit F: Concurrent[F]): F[Response[F]]
- Definition Classes