首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Java > 阿贾克斯localStorage缓存

阿贾克斯localStorage缓存

  • 资源大小:3.03 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: 缓存 localstorage 阿贾克斯

资 源 简 介

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

文 件 列 表

alscache.js
VIP VIP
0.180574s