AI-generated Key Takeaways
-
cast.framework.events.CacheItemEvent
provides data for cache hit/insertion events, but is deprecated and never fires. -
It includes the
type
of event andurl
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.
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.