Skip to content
This repository has been archived by the owner on Oct 11, 2020. It is now read-only.

Edge has a storage limit of 1MB per value #1

Closed
nicole-ashley opened this issue Jul 25, 2016 · 4 comments
Closed

Edge has a storage limit of 1MB per value #1

nicole-ashley opened this issue Jul 25, 2016 · 4 comments
Labels

Comments

@nicole-ashley
Copy link
Owner

There is an issue caching definitions because the cache value exceeds the Edge limit of 1MB per value.
https://developer.microsoft.com/en-us/microsoft-edge/platform/documentation/extensions/api-support/supported-apis/

This is an unhandled exception and is causing issues loading lists. It may "just work" if we handle the exception (even though it's not an optimal solution).

@gorhill
Copy link

gorhill commented Aug 9, 2016

On ABP's issue tracker, there an entry for the storage limit issue. One of the developer comments:

there is also a limit of total 5Mb storage per extension it looks like we will have to move away from the chrome.storage.local.

The 5MB-per-extension limit, is this something you have also observed?

@nicole-ashley
Copy link
Owner Author

I haven't run into this issue, and can't actually see it documented (unless it's been added very recently). I'll do some investigation though.

I found that splitting into 1MB chunks didn't work either. I ended up having to use 300KB chunks, a limit I found through trial and error.

@ghost
Copy link

ghost commented Aug 10, 2016

For an alternative to local storage, consider using https://github.com/localForage/localForage.

@gorhill
Copy link

gorhill commented Aug 15, 2016

In case you didn't see this, I just found that Mozilla is providing great reference documentation about the WebExtensions API, including detailed cross-browser compatibility (Edge is documented in there): https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Browser_support_for_JavaScript_APIs.

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

No branches or pull requests

2 participants