Shell.Storage.js
Applies To: Windows Azure Pack
Gets and saves browser cache data.
Widgets
None.
Enums
None.
Properties
None.
Methods
Name |
Description |
Returns |
Parameters |
---|---|---|---|
Shell.Storage.getLocalCache |
Synchronously gets a BrowserCache instance that is backed by the Browser's Local Storage. If the browser does not support local storage, a cache for the current page will be used. Changes to the same BrowserCache instance are immediately visible to other users of that instance. However updates to different instances (even with the same name) might not be visible to each other. The last writer's data will be preserved. |
Object |
cacheName (String): The name of the cache. |
Shell.Storage.getSessionCache |
Synchronously gets a BrowserCache instance that is backed by the Browser's Session Storage. If the browser does not support local storage, a cache for the current page will be used. Changes to the same BrowserCache instance are immediately visible to other users of that instance. However updates to different instances (even with the same name) might not be visible to each other. The last writer's data will be preserved. |
Object |
cacheName (String): The name of the cache. |