A Chrome extension that redirects requests from Google and related CDN domains to alternate mirrors, mainly for faster loading where Google-hosted libraries are slow or unreachable.
Overview
Replace Google CDN is a browser extension for Chrome that rewrites network requests so pages load common front-end libraries and fonts from domestic mirror hosts instead of Google CDN endpoints. The goal is to speed up sites that still reference Google-hosted scripts or styles when those URLs perform poorly in some regions.
It uses browser declarative request APIs to redirect URLs. Default rules cover ajax.googleapis.com, Google Fonts hosts, reCAPTCHA, Gravatar, Bootstrap CDN, and others; additional rules exist but may ship disabled. You open the options page from the extension icon to tune which replacements are active.
You can install from the Chrome Web Store when available, or by loading an unpacked build from the extension folder through chrome://extensions with developer mode. Separate build targets exist for Manifest V2 and V3.
Before-and-after network timing examples illustrate faster loads for pages that pull jquery and related assets through the redirected hosts.
Key features
- Declarative net request redirection
- Multiple Google CDN mirror mappings
- Configurable rules on options page
- Manifest V2 and V3 builds
- Unpacked Chrome manual install path
- Default rules for fonts and ajax libs
- Optional extra CDN rewrite rules
- Documented performance comparison tables
Use cases
- Faster loading of Google CDN scripts in Chrome
- Browsing foreign sites that use Google libraries
- Local development with mirror CDNs
- Replacing slow or blocked font CDN hosts