Proxy for Google Fonts
Use Google Fonts while addressing privacy concerns related to GDPR and CCPA
This package ensures that website visitors do not directly connect to Google's servers for font resources, thereby enhancing privacy. Instead, it reroutes all requests for Google Fonts through the website's own server, effectively becoming a proxy. This approach eliminates direct contact between the website visitor and Google, with the web server handling all communications with Google's servers.
Features
- Automatic Tag Replacement: Automatically converts `` tags requesting Google Fonts to point towards the web server, preventing direct visitor contact with Google's servers.
- CSS Stylesheet Wrapping: Modifies CSS stylesheets containing direct references to Google Fonts, ensuring all font requests are proxied through the website's server.
- Privacy Compliance: Addresses privacy concerns related to GDPR and CCPA by avoiding direct connections between the website's visitors and Google's servers.
- Caching Support: Implements caching for responses, minimizing the performance impact of rerouting font requests through the web server.
Limitations
This package can serve as a proxy for Google Fonts, but only for the HTML and CSS code generated by the website.
For instance, when you use a Google Maps block, it will load a JavaScript file from Google's servers, which then adds Google Fonts to the web page on the fly.
In situations like this, Proxy for Google Fonts won't work, and your clients will still load fonts from Google's servers.
One potential solution to this issue, specifically with Google Maps, is to use a non-Google map.