Skip to content

[RFC]: impl cache storage#501

Open
wiseaidev wants to merge 2 commits intoranile:masterfrom
wiseaidev:cache-storage
Open

[RFC]: impl cache storage#501
wiseaidev wants to merge 2 commits intoranile:masterfrom
wiseaidev:cache-storage

Conversation

@wiseaidev
Copy link
Copy Markdown

Hiya (* ^ ω ^)!

I've been tinkering with the browser and noticed that Gloo storage is missing some handy components, like cache storage. I've also been doing some wild science with Yew and Wasm: @opensass.

One thing up for debate: should cache storage be implemented under the service worker or directly in Gloo storage? For now, I think it's best to implement it in the Storage API.

Lemme know what you think!

}

async fn all_keys() -> Result<Vec<String>> {
let promise = Self::raw().keys();
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't this return the names of all caches, as opposed to just gloo-cache ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants