Skip to content

Loading…

Ensure good out-of-box experience when there are network issues #426

Closed
gorhill opened this Issue · 1 comment

2 participants

@gorhill

uBlock comes with "Auto-update" enabled.

This means that first time uBlock is launched, it will fetch resources (EasyList, EasyPrivacy, Fanboy's Social, Peter Lowe's) which have a remote "home" from their respective remote servers.

This means if there happens to be any network- or remote server-related issue when uBlock launches, the attempts to fetch remotely will timeout (15s-30s), causing a significant delay for when uBlock is ready to actually perform its job. A user do not expect that delay, and will try right away whether uBlock does block as advertised, and will find out it doesn't if all the timeouts (due to network issues) have not been fired yet (when they are uBlock will fall back to local copies shipped with the extensions, which are likely out-dated however).

In short, when there are network issues beyond the control of uBlock, an out-of-the-box experience risks not being positive.

Example: https://archive.rebeccablacktech.com/g/thread/S45680589#p45697232

Solution: Absolutely avoid completely to fetch the resources from remote servers when uBlock launches. Delay update to some time after launch.

Negative consequence: the filter lists used are likely out of date.

So there is a compromise here. Which is more important, flawless out-of-box experience or up-to-date filter lists at launch. I now lean toward flawless out-of-box experience.

@CrisBRM

The latter. The filters will be updated in the same session and it's unlikely the user will stumble upon a webpage that features content the previous versions (from the hour/day before) of the lists can't deal with.

@gorhill gorhill added a commit that closed this issue
@gorhill gorhill this fixes #426 4f229c7
@gorhill gorhill closed this in 4f229c7
@gorhill gorhill added a commit that referenced this issue
@gorhill gorhill further fix re #426 97bf6e2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.