checkURL(url) → {boolean}
Checks if the given URL has been loaded into the Cache.
This method will only work if Cache.autoResolveURL was set to true
before any preloading took place.
The method will make a DOM src call to the URL given, so please be aware of this for certain file types, such as Sound files on Firefox
which may cause double-load instances.
Parameters
Name | Type | Description |
---|---|---|
url | string | The url to check for in the cache. |
Returns
boolean -
True if the url exists, otherwise false.
- Source code: loader/Cache.js (Line 803)
Please login to continue.