deleteCache
| Explanation | Deletes the cache indicated by the URI. This function is left for compatibility with older versions, but is available. It is internally transferred to the call of the Root.DeleteCache method. In new programs, use the Root.DeleteCache method. Unlike the conventional deleteCache function , the Root.DeleteCache method deletes the corresponding Internet Explorer cache entry at the same time when called during communication using IEConnect. | |
| Call format | deleteCache ([URI ]) | |
| Return value | None | |
| Arguments | String URI | Specifies the URI to delete. If the URI is omitted, all caches from the server that downloaded the CRS file that called the deleteCache function will be deleted. If * (asterisk) is specified at the end of the URI, all prefix-matching URLs will be deleted. Since the cache to be deleted is determined by the prefix match in the URL string comparison, the directory name and file name are not distinguished. Added since Mobile Ver.3.0.0 The URI cannot specify the protocol and host name, and if included, it will be ignored. Therefore, it is not possible to delete the cache generated from a server other than the server that downloaded the CRS file that called the deleteCache function. This is a constraint designed to prevent unintentional deletion of the cache used by another application. One thing to note about this constraint is the cache control of the image file. Image files loaded by URL into SVG, ImageLabel, etc. are also cached, but if the image file is downloaded from a server different from the application, there is no way to remove the cache of that image file from the script. |
| Exception | None | |
| Example of use | | |
| Related item | cachedate function Root.DeleteCache method | |