Skip to content
This repository has been archived by the owner on Jan 23, 2021. It is now read-only.

Guard against empty caches due to a previously aborted install handler #105

Merged
merged 1 commit into from
Apr 20, 2016

Conversation

jeffposnick
Copy link
Contributor

R: @wibblymat @gauntface @addyosmani @ebidel
CC: @aeharding

This is something we've noticed from time to time in the I/O web app as well, so it's nice to get a fix in. I've got a couple of other changes that I'd like to roll up into a new minor release, so stay tuned for further PRs.

Fixes #103

@gauntface
Copy link

LGTM.

Would love the promise chain to be broken up into smaller methods, like installAndUpdateChaches(), deleteOldCaches() just to make it a bit clearer, but that's personal preference.

@jeffposnick
Copy link
Contributor Author

I'd like to refactor all the code in that file to use ES2015 features, and breaking things up into smaller pieces chained together with arrow functions would fit into that. See #82 (comment)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Couldn't serve response for x from cache; Error, the cache is empty
2 participants