CacheStrategy

trait CacheStrategy[F[_]]

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.

Source:
CacheStrategy.scala
class Object
trait Matchable
class Any

Value members

Abstract methods

def cache(uriPath: Path, resp: Response[F])(implicit F: Concurrent[F]): F[Response[F]]

Performs the caching operations

Performs the caching operations

Source:
CacheStrategy.scala