uBlock/src
Raymond Hill 4687c60bf9
Support fetching assets from CDNs when auto-updating
This commit add the ability to fetch from CDN servers
when an asset is fetched as a result of auto-update.

If an asset has a `cdnURLs` entry in `assets.json`,
the asset will be auto-updated using one of those
CDN URLs. When many CDN URLs are specified, those
URLs will be shuffled in order to spread the bandwidth
across all specified CDN servers. If all specified CDN
servers fail to respond, uBO will fall back to usual
`contentURLs` entry.

The `cdnURLs` are used only when an asset is
auto-updated, this ensures a user will get the more
recent available version of an asset when manually
updating.

The motivation of this new feature is to relieve
GitHub from acting as a CDN (which it is not) for
uBO -- an increasing concern with the growing adoption
of uBO along with the growing size of key uBO assets.
2020-04-08 09:57:55 -04:00
..
_locales Import translation work from https://github.com/gorhill/uBlock 2020-04-06 14:05:16 -04:00
css Second pass to re-design the dashboard 2020-04-06 14:00:19 -04:00
img Integrate bare-bone filter hit stats in the logger 2019-05-24 11:18:39 -04:00
js Support fetching assets from CDNs when auto-updating 2020-04-08 09:57:55 -04:00
lib Fix page count computation in publicSuffixList.enableWASM() 2019-04-25 19:40:07 -04:00
web_accessible_resources Improve disqus_embed.js scriptlet 2020-03-24 10:02:20 -04:00
1p-filters.html Centralize break-all CSS property 2020-03-15 09:25:18 -04:00
3p-filters.html Second pass to re-design the dashboard 2020-04-06 14:00:19 -04:00
about.html Select existing "Advanced settings" page if any 2019-05-25 08:31:06 -04:00
advanced-settings.html Add basic syntax coloring to advanced settings pane 2019-12-24 10:04:18 -05:00
asset-viewer.html Centralize break-all CSS property 2020-03-15 09:25:18 -04:00
background.html Work toward modernizing code base: promisification 2019-09-16 09:45:17 -04:00
cloud-ui.html fix https://github.com/uBlockOrigin/uBlock-issues/issues/171 2018-08-31 10:50:19 -04:00
dashboard.html First pass to Re-design the dashboard 2020-04-05 15:19:07 -04:00
document-blocked.html Further fine tune layout for small screen devices; use SVG for icon 2018-12-21 08:16:24 -05:00
dyna-rules.html Use type="search" for search input fields 2019-11-03 13:14:29 -05:00
epicker.html Allow element picker dialog to be moved around 2019-11-05 12:03:48 -05:00
logger-ui.html Fine tune hostname uncloaking through CNAME-lookup 2019-11-23 13:07:23 -05:00
popup-fenix.html Move refresh button to the right of the power button 2020-02-27 09:29:14 -05:00
popup.html New way to convey IDN and CNAME info in popup panel 2020-02-10 08:06:36 -05:00
settings.html First pass to Re-design the dashboard 2020-04-05 15:19:07 -04:00
shortcuts.html fix https://github.com/uBlockOrigin/uBlock-issues/issues/106 2018-07-18 18:00:55 -04:00
whitelist.html Add a link to the remote asset in asset viewer 2019-05-23 19:29:59 -04:00