资 源 简 介
The alscache javaScript provides a client-side XMLHttpRequest cache and it is intended to make faster script execution. It uses the localStorage to cache XMLHttpRequest response messages.
General Notes
Data placed in local storage is per domain (it"s available to all scripts from the domain that originally stored the data) and persists after the browser is closed. When alscache object is instantiated it will use caching policy configuration stored on localStorage if available. The caching policy configuration is updated time to time before fetching a requested file by retrieving a alscache configuration file confalscache.cfg from a WEB site.
In a case of Cross-Domain XMLHttpRequests you can use a Web proxy. Using alscache you can code your Cross-Domain XMLHttpRequest like a local XMLHttpRequest. alscache detects Cross-Domain request and modifies the url so