AI-generated Key Takeaways
-
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.
cast.framework.events. CacheItemEvent
Event data for a cast.framework.events.EventType.CACHE_HIT
event or a
cast.framework.events.EventType.CACHE_INSERTED
event.
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
string
The URL of data fetched from cache.