Skip to content

Conversation

notlmn
Copy link
Collaborator

@notlmn notlmn commented Jul 7, 2020

On Chrome we had this long standing issue where the extension goes offline until you click on the extension icon (#132) or trigger background pages some other way. In some cases it goes completely unresponsive despite clicking on the extension icon (#220).

We haven't had similar issues on Firefox, which does not (yet) support non-persistent background pages, i.e., the background page stays loaded all the time.

https://developer.chrome.com/extensions/background_pages

Chrome suggests not to have resource intensive tasks in background pages, but all we have in background pages is an alarm, and a couple of network requests, so this should not be a problem.

I'm hoping changing to the same persistent model as Firefox on Chrome should fix issues mentioned above.

/cc @fregante and @sindresorhus for opinions.

@notlmn notlmn requested a review from sindresorhus July 7, 2020 12:50
@sindresorhus
Copy link
Owner

Yeah, let's try it out.

@notlmn notlmn merged commit 5481212 into master Jul 28, 2020
@notlmn notlmn deleted the persistent branch July 28, 2020 11:14
@fregante
Copy link
Contributor

Did it fix it? The issue is still open

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.

3 participants