getURL(url) → {object}
Get a cached object by the URL.
This only returns a value if you set Cache.autoResolveURL to true
before starting the preload of any assets.
Be aware that every call to this function makes a DOM src query, so use carefully and double-check for implications in your target browsers/devices.
Parameters
Name | Type | Description |
---|---|---|
url | string | The url for the object loaded to get from the cache. |
Returns
object -
The cached object.
- Source code: loader/Cache.js (Line 1584)
Please login to continue.