apache / apache/cordova-docs

Cache storage documentation

Open
#1,210 8 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
353
Forks
565
Avg merge
7h 15m
Merged PRs (30d)
5

Description

# Feature Request

Details on advantages/disadvantages, supported platforms, etc. for the Cache API supported by browsers, etc.

## Motivation Behind Feature

Cordova has some great docs for helping when making decisions on where and how to store data but doesn't currently provide information saved about the Cache API which can be used in some cases instead of IndexedDB. Documenting this will help folks make informed decisions.

## Feature Description

Document Cache API similar to how localStorage, IndexedDb, Web SQL, etc. are documented.

www/docs/en/dev/cordova/storage/storage.md

## Alternatives or Workarounds

Various sites out there have some information about total size limits on iOS, etc. etc. but it is hard to find what applies to apps running inside Cordova/WKWebView.

Contributor guide

Open the contributing guide

Research direction

Start with www/docs/en/dev/cordova/storage/storage.md and compare how localStorage, IndexedDB, and Web SQL are documented. Research Cache API support, advantages, disadvantages, and storage limits for Cordova and WKWebView. Done means the file contains a comparable Cache API section that helps readers choose a storage option.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
documentation, mobile-dev
Issue type
Documentation
Difficulty
2/5
Estimated time
Half a day
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.