Packages

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.

Source
MemoryCache.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MemoryCache
  2. CacheStrategy
  3. AnyRef
  4. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MemoryCache()

Value Members

  1. def cache(uriPath: String, resp: Response[F])(implicit F: Effect[F]): F[Response[F]]

    Performs the caching operations

    Performs the caching operations

    Definition Classes
    MemoryCacheCacheStrategy