insin / insin/react-hn

Service Worker: add support for Cache expiration

Open
#55 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
2.2k
Forks
328
PR merge metrics
No merged PRs in 30d

Description

In `Offline Mode`, we could take advantage of the sw-toolbox [Cache Expiration](http://googlechrome.github.io/sw-toolbox/docs/releases/v3.2.0/cache-expiration-options/) feature to limit how long story and comment threads get offline cached.

This is useful if you've been using the app for a few weeks, have built up a large offline cache of content and would prefer that we only keep stories/comments stored for a week or something like that.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.