Descrizione
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
Sfrutta la cache del browser, riduci le ricerce/richieste DNS, riduci il Cumulative Layout Shift e rendi i tuoi Google Fonts conformi al 100% con il GDPR grazie a 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:
- Precarica i font per ridurre il Cumulative Layout Shift above the fold,
- Non caricare i font che non sono utilizzati da te, dal tuo tema e/o dai tuoi plugin,
- Imposta un Fallback Font Stack (necessario OMGF Pro) per ridurre ulteriormente il Cumulative Layout Shift, oppure
- 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.
- Supporto per il font variabili,
- Automatically Remove unused subsets to reduce the size of the CSS stylesheet up to 90%!
- Remove Resource Hints (preload, preconnect, dns-prefetch) pointing to
fonts.googleapis.com
or
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
- Run the Google Fonts checker in the frontend (for all users) to organically check for present external Google Fonts throughout your site.
- Smart Preload automatically configures which fonts should be preloaded i.e., loaded early to reduce Cumulative Layout Shift, Largest Contentful Paint and Ensure Text Remains Visible During Webfont Load.
- Automatically configures itself to make sure all externally hosted Google Fonts on your site are hosted locally. OMGF Pro supports:
- dichiarazioni
@font-face
e@import
all’interno dei blocchi<style>
in linea, @font-face
and@import
statements inside local stylesheets loaded by e.g. 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
), - 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.
Screenshot
OMGF’s Local Fonts screen. These settings affect the downloaded files and generated stylesheet(s). The dashboard offers a quick overview of possible configurational issues (and solutions), the status of cached fonts/stylesheets along with quick links to simple management tasks e.g., Empty Cache and Configure/Remove. After you’ve completed configuring OMGF, the Optimize Local Fonts section will allow you to tweak all of your Google Fonts stylesheets by e.g., unloading unused fonts and/or preloading fonts above the fold. Impostazioni avanzate. Modifica queste impostazioni per far funzionare OMGF con la tua configurazione (se necessario). Le impostazioni di default sono sufficienti per la maggior parte delle configurazioni.
Installazione
- Carica i file del plugin nella directory
/wp-content/plugins/host-webfonts-local
, o installa il plugin attraverso la schermata plugin di WordPress. - Attiva il plugin attraverso la schermata ‘Plugin’ di WordPress
- Utilizza la schermata Impostazioni -> Optimize Google Fonts per configurare il plugin
Per una guida più completa sulla configurazione di OMGF, dai un’occhiata al manuale dell’utente
FAQ
Per le FAQ fai clic qui.
Recensioni
Contributi e sviluppo
“OMGF | GDPR/DSGVO Compliant, Faster Google Fonts. Easy.” è un software open source. Le persone che hanno contribuito allo sviluppo di questo plugin sono indicate di seguito.
Collaboratori“OMGF | GDPR/DSGVO Compliant, Faster Google Fonts. Easy.” è stato tradotto in 11 lingue. Grazie ai traduttori per i loro contributi.
Traduci “OMGF | GDPR/DSGVO Compliant, Faster Google Fonts. Easy.” nella tua lingua.
Ti interessa lo sviluppo?
Esplora il codice segui il repository SVN, segui il log delle modifiche tramite RSS.
Changelog
6.0.5 | July 7th, 2025
- Fixed: class WPTT not found error. Oops!
6.0.4 | July 4th, 2025
- Added: compatibility for themes/plugins using the WPTT webfont loader.
- Improved: Optimize Local Fonts section is now full width, like the Dashboard.
- Improved: Moved Test Mode into the Dashboard section.
6.0.3 | June 24th, 2025
- Added: Smart Preload (Pro) promotional option.
- Added: Compatibility for the upcoming Elementor v3.30 release.
- Improved: Compatibility fixes are now moved into one place, and are only loaded on the condition of the respective plugin actually being activated.
- Improved: All settings related to fonts optimization are now grouped in the Optimize Local Fonts section under the Local Fonts tab.
- Several code improvements.
6.0.2 | June 12th, 2025
- Improved: the Google Fonts checker now runs through its own API endpoint, instead of WP’s AJAX actions.
- Improved: the Disable Admin Bar Menu option now also disables the Google Fonts checker.
- Added: Real Cookie Banner, Borlabs Cookie Banner and Trustmary to the list of plugins which require additional configuration.
- Minor refactors for cleaner code and to fix minor security flaws.
6.0.1 | May 27th, 2025
- Fixed: Frontend Assets would still load, even when Disable Top Admin Bar Menu option was enabled.
- Fixed: some themes (like Enfold) are incompatible with wp-util. Refactored wp-util dependencies to vanilla JS in Google Fonts checker to no longer rely on it.
- Improved: really long URLs in the Dashboard are now wrapped.
- Fixed: when OMGF Pro isn’t installed, Fallback Font Stack shouldn’t be enabled.
6.0.0 – **2000 IQ edition** | May 26th, 2025
- Added: Google Fonts checker, which will notify you when a plugin or theme has added Google Fonts OMGF can’t process (and provide a solution!)
- Improved: the menu in the Top Admin Bar now has a stoplight, which notifies you if there are any Google Fonts and/or configurational issues. It’ll show green if all is well.
- Improved: the Task Manager is superseded by a brand-new Dashboard, which will give you a quick overview of:
- If OMGF was able to process all Google Fonts on your site, and if not; show you where they were found with possible solutions.
- If there were any configurational issues (e.g., known conflicts with other plugins, etc.).
- Cache status,
- Simple cache management tasks: Empty and Refresh.
- Improved: The settings screen got a fresh new coat of paint, fully aligned with Daan.dev’s new look.
- Improved: Settings were moved around to move logical places:
- The Detection Settings tab has been removed,
- The Local Fonts tab is now fully dedicated to informing you about your Local Google Fonts configuration.
- All options, that’re not directly related to Locally Hosting Google Fonts but are directed more at optimization, are now moved to the Advanced Settings tab.
- Improved: Optimize for (D)TAP is now renamed to the more appropriate Developer Mode.
- Improved: Mailerlite users are now made aware of the fact that it loads iframes loading Google Fonts.
- Improved: if Disable Admin Bar Menu (prev. Disable Quick Access Menu) is enabled, the Admin Bar Menu will still show if there are issues to notify the administrators.
- Removed a bunch of old upgrade/update notifications.
- Tons of bug fixes and code and security improvements.
5.9.3 | May 16th, 2025 – THE LAST PATCH RELEASE BEFORE **OMGF V6!**
- Tested with WP 6.8
- Added: compatibility with OptimizePress 3 theme
- Fixed: Variable font weights weren’t processed properly during optimization.
- Fixed: Update notices weren’t displayed properly.
- Various small bugfixes.
[ Changelog shortened … ]
5.0.0 – **The Better, Bigger, Faster, Stronger, Cooler, Awesome-er Edition** | March 4th, 2022
- Added: Parse entire HTML document for Google Fonts stylesheets (instead of just wp_head())
- Added: Merged both Optimization Modes option into one automatically running option:
– A first scan is done upon Save & Optimize,
– A quick check is done on pageload, to see if other Google Fonts are found than the ones already found, and if so, they’re downloaded and replaced on-the-fly. - Enhanced: The Download API is replaced for an easier, leaner and faster alternative and no longer uses the WordPress API.
– If the first request fails, a mirror is used to retry the request, before throwing an error.
– Fixes rest_no_route errors in some configurations. - Enhanced: The Task Manager now offers a quick overview of downloaded stylesheets and their status, along with simple management tasks, e.g. cache flush, configure stylesheet and/or remove.
– When cache is marked as stale, it’s now possible to refresh the cache and maintain your stylesheet configuration. - Added: Resource hints enqueued in wp_resource_hints() are now properly removed.
- Fixed: Smart Slider 3 compatibility.
- Several bugfixes, UX improvements and code optimizations.
[ Changelog shortened … ]
4.0.0 | September 30th, 2020
- OMGF now runs fully automatic to replace/remove Google Fonts from your pages using OMGF’s new Download API. No initial configuration required!
- This means that if you use different fonts on different pages, all of them will be cached and served locally.
- HUGE performance increase in OMGF’s automatic replacing/removing methods.
- Major overhaul of Settings Page:
- Removed Extensions Tab
- Some settings were moved to a new tab: Basic Settings.
- Improved Welcome and Documentation tab.
- Clarified option descriptions.
- Removed ‘Generate Stylesheet’ tab, which’ll be released in a separate add-on plugin soon.
- Removed ‘Use Web Font Loader?’ option, because it causes Cumulative Layout Shift and will not work with OMGF’s new Auto Replace feature.
- Removed ‘Remove Version Parameter’ option, because it has become obsolete. The new detection method uses the initial script’s version, if set.
- Font Preloading is temporarily removed and will be re-introduced (in a different form, along with new features) in a later release.
[ Changelog shortened … ]
3.0.0
OMGF – CORONA EDITION
* Moved Welcome-panel to the side.
* wp_remote_get() is now used instead of cURL.
* Complete code overhaul to increase performance and UX.
* Notices and errors are now more explanatory and dismissable.
* Fixed several bugs.
* OMGF now uses wp_options table, instead of own tables.
* Old tables are removed and data is migrated.
* Auto detect now works better than ever.
* Search now works bug free.
* WordPress’ default admin fonts no longer show up as results.
[ Changelog shortened … ]
2.0.0
Added Typekit’s Web Font Loader to allow loading fonts asynchronously.
[ Changelog shortened… ]
1.0
First release! No changes so far!