cachedURLs | |||||||
Type | function | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Synonyms | cachedurl | ||||||
Associations | internet library | ||||||
Summary | Returns a list of the URLs that have been downloaded and copied to the cache using the load command. | ||||||
Introduced | 1.0 | ||||||
Changes | The cachedURLs function became part of the Internet library in version 1.1. In previous versions, it was not a library function. | ||||||
OS | mac, windows, linux, web | ||||||
Platforms | desktop, server | ||||||
Example |
| ||||||
Values |
| ||||||
Related | Keyword: URL, line Glossary: LiveCode custom library, return, handler, download, cache, Standalone Application Settings, URL, standalone application, command, load Command: unload, load Function: files, libURLErrorData, URLStatus, cachedURLs Library: Internet library Control Structure: function | ||||||
Security | network | ||||||
Description | Use the cachedURLs function to determine which files have been downloaded and are currently in the cache. A cached URL can be accessed more quickly than one that is not cached. The cachedURLs function includes all URLs that you have successfully loaded with the load command. If an unsuccessful attempt has been made to load a URL, it does not appear in the cachedURLs. Only URLs whose URLStatus is "cached" appear in the cachedURLs. Cached files consume memory. To release this memory after you are finished with a URL, use the unload command to remove it from the cache. You can use this handler to unload all URLs:
| ||||||
Tags | networking |