书栈网 · BookStack 本次搜索耗时 0.020 秒,为您找到 159 个相关结果.
  • Progressive Web App 的离线存储

    1664 2018-07-03 《PWA文档》
    Progressive Web App 的离线存储 建议: 其他存储机制是怎样的? 我能存储多少数据? 如何了解我的应用目前使用了多少存储空间? 缓存逐出是如何工作的? 当前和未来的离线存储运行 背景阅读 实用资源 值得关注的 IndexedDB 库 Progressive Web App 的离线存储 本文转载 自 develop...
  • W3C Recommendation, 30 January 2018

    W3C Recommendation, 30 January 2018 W3C Recommendation, 30 January 2018 This version: https://www.w3.org/TR/2018/REC-IndexedDB-2-20180130/ Latest published version: https:/...
  • 5.2 本地存储管理

    526 2021-02-02 《PWA 应用实战》
    本地存储管理 Cache API 与 IndexedDB 的应用场景 缓存管理注意事项 本地存储空间是有限的 资源的存取过程可能会失败 存储的资源可能会过期 缓存管理实现 构造函数 获取 cache 和 db 对象实例 写入资源的同时记录资源过期时间 读取资源时排除过期资源 过期资源清理方法实现 利用 CacheWrapper 实现对资源...
  • 4.3. The IDBFactory interface

    4.3. The IDBFactory interface 4.3. The IDBFactory interface Database objects are accessed through methods on the [IDBFactory](#idbfactory) interface. A single object implemen...
  • 4.3. The IDBFactory interface

    4.3. The IDBFactory interface 4.3. The IDBFactory interface Database objects are accessed through methods on the [IDBFactory](#idbfactory) interface. A single object implemen...
  • Ionic Storage

    Usage Configuring Storage Instance Members constructor driver clear() forEach() Parameters iteratorCallback get() Parameters key keys() length() ready() remove() Para...
  • 3.1 打开数据库

    3.1 打开数据库 3.1 打开数据库 使用 IndexedDB 的第一步是打开数据库,使用indexedDB.open() 方法。 var request = window . indexedDB . open ( databaseName , version ); 这个方法接受两个参数,第一个参数是字符串,表示数据库的名...
  • 浏览器模型

    浏览器模型概述 window 对象 Navigator 对象,Screen 对象 Cookie XMLHttpRequest 对象 同源限制 CORS 通信 Storage 接口 History 对象 Location 对象,URL 对象,URLSearchParams 对象 ArrayBuffer 对象,Blob 对象 File 对象...
  • 基本概念

    基本概念 基本概念 IndexedDB 是一个比较复杂的 API,涉及不少概念。它把不同的实体,抽象成一个个对象接口。学习这个 API,就是学习它的各种对象接口。 数据库:IDBDatabase 对象 对象仓库:IDBObjectStore 对象 索引: IDBIndex 对象 事务: IDBTransaction 对象 操作请求:IDBRequ...
  • 二、基本概念

    二、基本概念 二、基本概念 IndexedDB 是一个比较复杂的 API,涉及不少概念。它把不同的实体,抽象成一个个对象接口。学习这个 API,就是学习它的各种对象接口。 数据库:IDBDatabase 对象 对象仓库:IDBObjectStore 对象 索引: IDBIndex 对象 事务: IDBTransaction 对象 操作请求:ID...