MemoryCache

class MemoryCache[F[_]] extends CacheStrategy[F]

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
trait CacheStrategy[F]
class Object
trait Matchable
class Any

Value members

Concrete methods

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