Class: CacheItemEvent

  • CacheItemEvent provides data for CACHE_HIT or CACHE_INSERTED events in the cast.framework.events namespace.

  • The CacheItemEvent constructor takes the event type and the URL of the cached data as parameters.

  • This event is deprecated and never fires.

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.