Package

play.api

cache

Permalink

package cache

Contains the Cache access API.

Source
package.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. cache
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait AsyncCacheApi extends AnyRef

    Permalink

    The cache API

  2. class Cached extends AnyRef

    Permalink

    A helper to add caching to an Action.

  3. final class CachedBuilder extends AnyRef

    Permalink

    Builds an action with caching behavior.

    Builds an action with caching behavior. Typically created with one of the methods in the Cached class. Uses both server and client caches:

    • Adds an Expires header to the response, so clients can cache response content ;
    • Adds an Etag header to the response, so clients can cache response content and ask the server for freshness ;
    • Cache the result on the server, so the underlying action is not computed at each call.
  4. class DefaultSyncCacheApi extends SyncCacheApi

    Permalink

    A SyncCacheApi that wraps an AsyncCacheApi

  5. type NamedCache = cache.NamedCache

    Permalink
  6. trait SyncCacheApi extends AnyRef

    Permalink

    A cache API that uses synchronous calls rather than async calls.

    A cache API that uses synchronous calls rather than async calls. Useful when you know you have a fast in-memory cache.

Inherited from AnyRef

Inherited from Any

Ungrouped