Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cache API and listing asset requests #1

Open
dannyrb opened this issue Dec 31, 2018 · 0 comments
Open

Cache API and listing asset requests #1

dannyrb opened this issue Dec 31, 2018 · 0 comments
Labels
enhancement New feature slated for development

Comments

@dannyrb
Copy link
Member

dannyrb commented Dec 31, 2018

Proposal

Add and use a ServiceWorker to:

  • Cache API endpoints
  • Cache listing assets (images and html content)

Description

API endpoints, like /plugins and /plugins/:item-id update infrequently. It should be safe to cache them using a ServiceWorker. Similarly, images for a single plugin, or it's uploaded html content, should change infrequently.

We're using lambda, so every request incurs a small charge. We might as well reduce costs as much as possible 🤷‍♂️

@dannyrb dannyrb added the enhancement New feature slated for development label Jan 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature slated for development
Projects
None yet
Development

No branches or pull requests

1 participant