Class: CacheItemEvent

  • cast.framework.events.CacheItemEvent provides data for cache hit/insertion events, but is deprecated and never fires.

  • It includes the type of event and url of cached data as parameters for its constructor.

  • Although deprecated, the url property is available to access the URL of data retrieved from the cache.

Constructor

CacheItemEvent

new CacheItemEvent(type, url)

Parameter

type

cast.framework.events.EventType

Type of this event.

Value must not be null.

url

string

URL of data fetched from cache.

Deprecated
This event never fires.

Property

url

constant

string

The URL of data fetched from cache.