plugin-icon

OMGF | 符合 GDPR/DSGVO 規範、更快速易用的 Google Fonts 網頁字型

OMGF 會自動為網站上佈景主題/外掛所使用的 Google Fonts 進行快取,不需要進行任何組態或基礎知識。
評分
4.7
最近更新:
April 4, 2024
版本
5.9.0
活躍安裝總數
300K
OMGF | 符合 GDPR/DSGVO 規範、更快速易用的 Google Fonts 網頁字型

OMGF can be downloaded for free without any paid subscription from the official WordPress repository.

How could using fonts via Google’s service possibly run afoul of GDPR? The fact of the matter is that, when a font is requested by the user’s browser, their IP is logged by Google and used for analytics. — Lifehacker

Leverage Browser Cache, reduce DNS lookups/requests, reduce Cumulative Layout Shift and make your Google Fonts 100% GDPR compliant with OMGF!

OMGF is written with performance and user-friendliness in mind. It uses the Google Fonts API to automatically cache the fonts your theme and plugins use to minimize DNS requests and speed up your WordPress website.

How Does It Work?

After installing the plugin, OMGF will automatically start looking for Google Fonts whenever a page is requested on your website.

All Google Fonts are listed in the Optimize Local Fonts section of OMGF’s settings screen. There, you can choose to:

  • Preload fonts to reduce Cumulative Layout Shift above the fold,
  • Unload fonts that’re not used by you, your theme and/or plugins,
  • Set a Fallback Font Stack (OMGF Pro required), to further reduce Cumulative Layout Shift, or
  • Replace (OMGF Pro required) font-families with system fonts to speed up loading times!

Other Features include

  • Variable Fonts support,
  • Automatically Remove unused subsets to reduce the size of the CSS stylesheet with ~90%!
  • Remove Resource Hints (preload, preconnect, dns-prefetch) pointing to fonts.googleapis.com or fonts.gstatic.com,
  • Ensure text remains visible during webfont load by forcing the font-display attribute to your Google Fonts,

Additional Features in OMGF Pro

  • Multisite support,
  • “Dig deeper” to find Google Fonts and optimize further. OMGF Pro supports:
    • @font-face and @import statements inside inline <style> blocks,
    • @font-face and @import statements inside local stylesheets loaded by your theme and/or plugins,
    • @font-face and @import statements inside externally hosted stylesheets loaded by your theme and/or plugins,
    • Web Font Loader (webfont.js),
    • Early Access Google Fonts,
    • Material Icons.
  • Ensure text remains visible during webfont load by adding the selected font-display attribute to all fonts on your website,
  • Modify the stylesheet’s src: url() attribute to fully integrate with your configuration,
    • Use this to serve fonts and the stylesheets from your CDN, or
    • To serve fonts from an alternative path (e.g. when you’re using Security through Obscurity plugins like WP Hide, etc.), or
    • Set a relative path to easily migrate from development/staging areas to production/live, or
    • Anything you like!

Purchase OMGF Pro | Documentation | Tested Plugins & Themes

免費使用Creator方案
活躍安裝總數
300K
目前已測試版本
6.5.4
此外掛程式已可供下載,並可用於你的 WordPress 自助託管安裝。