OMGF | GDPR/DSGVO Compliant, Faster Google Fonts. Easy.
Puoi scaricare OMGF gratuitamente senza alcun abbonamento a pagamento dal repository ufficiale di WordPress.
Come è possibile che l’utilizzo dei font attraverso il servizio di Google possa entrare in conflitto con il GDPR? La questione è che quando un fonto è richiesto dal browser di un utente, il suo IP è registrato da Google e utilizzato per le statistiche. — Lifehacker
Leverage Browser Cache, reduce DNS lookups/requests, reduce Cumulative Layout Shift and make your Google Fonts 100% GDPR-compliant with OMGF!
OMGF è stato scritto con le performance e la facilità di utilizzo in mente. Utilizza l’API di Google Fonts per memorizzare automaticamente nella cache i font che il tuo tema e i tuoi plugin usano, minimizzando le richieste DNS e velocizzando il tuo sito web WordPress.
Come funziona?
After installing and configuring the plugin, OMGF will automatically start looking for Google Fonts whenever a page is requested on your website.
Tutti i Google Fonts sono elencati nella sezione Ottimizza font locali nella schermata delle impostazioni di OMGF. Lì, puoi scegliere di:
- Preload fonts to reduce Cumulative Layout Shift above the fold.
- Unload fonts that’re not used by you, your theme, and/or plugins.
- Imposta un Fallback Font Stack (necessario OMGF Pro) per ridurre ulteriormente il Cumulative Layout Shift, oppure
- Enable Magic Fallbacks (OMGF Pro required), to automatically generate mathematically tuned system font fallbacks that match your Google Fonts’ exact proportions, eliminating layout shift while fonts load.
- Sostituisci (necessario OMGF Pro) le famiglie di font con i font di sistema per velocizzare i tempi di caricamento!
Le altre funzionalità includono
- The integrated Google Fonts checker notifies you if a plugin or your theme has added Google Fonts (e.g., after an update) it can’t process.
- The Performance Checker automatically monitors your Google Fonts’ performance and notifies you about potential improvements in 4 areas:
- Unused subsets — subsets that are downloaded but never used, increasing Total Blocking Time,
- Unused font styles/weights — font variants that are loaded but not used, causing unused CSS,
- Missing preloads — fonts used above the fold that aren’t preloaded, increasing Largest Contentful Paint and First Contentful Paint,
- Cumulative Layout Shift — layout shift caused by fonts loading after the page is rendered.
- Supporto per il font variabili,
- Remove Resource Hints (preload, preconnect, dns-prefetch) pointing to
fonts.googleapis.comor fonts.gstatic.com,- Assicurati che il testo rimanga visibile durante il caricamento del webfont forzando l’attributo font-display per i tuoi Google Fonts,
- Ensure text remains visible during webfont load by forcing the font-display attribute to all your other fonts! (OMGF Pro required),
Funzionalità aggiuntive in OMGF Pro
- Smart Optimize automatically detects which fonts, subsets, and weights are actually used on each page — preloading the ones that matter and removing the ones that don’t, to eliminate render-blocking resources and reduce unused CSS.
- Magic Fallbacks generates mathematically tuned system font fallbacks that match your Google Fonts’ exact proportions, eliminating layout shift while fonts load.
- Automatically configures itself to make sure all externally hosted Google Fonts on your site are hosted locally. OMGF Pro supports:
- dichiarazioni
@font-facee@importall’interno dei blocchi<style>in linea, @font-faceand@importstatements inside local stylesheets loaded by e.g. your theme and/or plugins,@font-faceand@importstatements inside externally hosted stylesheets loaded by your theme and/or plugins,- Web Font Loader (
webfont.js), - Async Google Fonts (loaded using JS)
- Icone Material.
- dichiarazioni
- Multisite and WPML support.
- Whitelabel stylesheets, which removes branding and comments from the stylesheets to further reduce the size.
- Modify your fonts’
src: url()attribute to fully integrate with your configuration,- Utilizza questa opzione per servire i font e i fogli di stile dalla tua CDN, oppure
- To serve fonts from an alternative path (e.g. when you’re using Security through Obscurity plugins like WP Hide, etc.), or
- Qualsiasi cosa tu voglia!
- Developer Mode, which allows you to easily migrate between Development, Staging/Testing, Acceptance and Production environments.
