MemoryCache

org.http4s.server.staticcontent.MemoryCache
See theMemoryCache companion object
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.

Attributes

Companion:
object
Source:
MemoryCache.scala
Graph
Supertypes
trait CacheStrategy[F]
class Object
trait Matchable
class Any

Members list

Concise view