-
Notifications
You must be signed in to change notification settings - Fork 81
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
Firefox: Prepare for non-persistent background page #2969
Labels
Firefox
specific to Firefox
Comments
This comment was marked as off-topic.
This comment was marked as off-topic.
gorhill
added a commit
to gorhill/uBlock
that referenced
this issue
Dec 4, 2023
Related issue: uBlockOrigin/uBlock-issues#2969 Changes: Use browser.alarms to trigger selfie creation. Presence of a selfie improve markedly time to readiness when uBO is unsuspended. Mirror content of storage.local to (in-memory) storage.session for faster load to readiness when uBO is ususpended.
7 tasks
9 tasks
gorhill
added a commit
to gorhill/uBlock
that referenced
this issue
Feb 28, 2024
Turns out it's currently the fastest among the three currently implemented (Cache, browser.storage.session, indexedDB). Possibly because indexedDB can natively persist structure-cloneable data, something uBO can now benefit with the work on abstracting away the limitations of various storages being limited to persist only text or JSON data. Related issue: uBlockOrigin/uBlock-issues#2969
gorhill
added a commit
to gorhill/uBlock
that referenced
this issue
Feb 29, 2024
Related issue: uBlockOrigin/uBlock-issues#2969 Related previous commit: 5a338b7210 The save-to-storage period is back to being around ~4 minutes, but now browser.storage.session API is used to keep track of request stats should the extension be suspended before the period elapse.
gorhill
added a commit
to gorhill/uBlock
that referenced
this issue
Mar 2, 2024
Related issue: uBlockOrigin/uBlock-issues#2969 Additionally, modified default timing values for asset updater and selfie creation.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Admittedly, I am a bit late at this.
See:
To do:
storage.session
to further speed up load sequenceThe text was updated successfully, but these errors were encountered: