Local CDN for Chrome
Local CDN is a browser extension for the Google Chrome browser that will load certain libraries from the local system instead of content distribution networks.
The extension is a fork of the Decentraleyes add-on that is only available for Firefox, and brings the add-ons functionality to Chrome and Chromium-based browsers.
If you monitor network traffic when you connect to sites, for instance by opening the networking tab of the browser's Developer tools, you may notice that a lot of sites load libraries.
Some load them from the local server, while others may load them from popular content distribution networks, for instance Google's or CloudFlare's.
Local CDN for Chrome
Local CDN ships with local copies of these libraries. It redirects requests to the local copies whenever a site tries to load one of these matching libraries.
The core benefits for the user are twofold. First, loading libraries from the local system is always faster than loading it from a remote host.
Second, a connection to the remote host is not made, which means that your device's IP address does not end up in the log file of said site.
Local CDN adds an icon to Chrome's toolbar that indicates the number of libraries that it redirected to local files.
You can verify this by opening the Network tab in Chrome, and looking for resources with the status code 307 internal redirect under headers.
The following hostnames are supported by the current version of the extension:
Only supported libraries are redirected. The developer states that "almost all versions" of the following libraries are supported:
For the extension to do anything, it is therefore required that a site loads one of the supported libraries from one of the supported hostnames. If it does not do one or the other, libraries won't be loaded from the local system.
Local CDN resolves one of the gripes that I had with Decentraleyes for Firefox. It highlights if resources are replaced with local copies, whereas the Firefox add-on did not do that back then when I reviewed it.
The extension is as limited as the Firefox add-on when it comes to flexibility. It is not possible to add your own CDN servers to the list for instance, or configure the extension to load these libraries even if they are not loaded from a CDN but the site in question directly.
Local CDN is a useful extension for Chrome that improves privacy and also speed when supported libraries are loaded from hostnames that it supports. It is likely that it works in other Chromium based browsers as well, and maybe even in Firefox. That has not been tested however.
Now You: Feel free to share your experience using the extension in the comment section belowAdvertisement