Local fonts cache
The plugin keeps everything it downloads in one folder on your site and uses it for every later page view.
Where the files are
All downloaded files are saved in:
media/plg_system_easylocalgooglefonts/fonts/
The full server path is shown in the plugin settings, in Clear Local Fonts Cache next to Path. Size shows how much space the folder uses.
Only the _elgf.css copies of your own CSS files are saved elsewhere, next to the original files. See Google Fonts in CSS files.
What is saved
| File | Name |
|---|---|
| A Google Fonts stylesheet | A code made from the family value of the address, with .css, for example 1b5c6b0f....css |
| A font file listed in such a stylesheet | The file name Google uses, for example KFOmCnqEu92Fr1Mu4mxK.woff2 |
| A font file linked straight from fonts.gstatic.com | A code made from its file name, with its own extension |
The saved stylesheets point to the font files with full addresses on your domain, such as https://www.example.com/media/plg_system_easylocalgooglefonts/fonts/...woff2.
How long the files are kept
The files are kept until you clear the cache or uninstall the plugin. The plugin does not check Google for newer versions of a font, and it does not delete fonts your pages no longer use.
Clear the cache
Clear the cache when:
- you changed fonts and want old files removed,
- your site moved to a new domain, or from
http://tohttps://, because the saved stylesheets contain the old addresses, - a font looks wrong or does not show.
To clear it:
- Go to System > Manage > Plugins and open System - Easy Local Google Fonts.
- In Clear Local Fonts Cache, click Clear.
- You see the message "Local fonts cache successfully cleared" and Size is
0B.
The next page view downloads the fonts again. If your site uses page caching, also clear Joomla's cache in System > Maintenance > Clear Cache, so cached pages do not point to the deleted files.
Clear deletes the whole media/plg_system_easylocalgooglefonts folder. It does not delete the _elgf.css copies next to your CSS files. See When the original CSS file changes.
Without the button
On Joomla 6 the button needs the Backward Compatibility 6 plugin (see Joomla 6). You can also clear the cache by hand: with your hosting file manager or FTP, delete the files inside media/plg_system_easylocalgooglefonts/fonts/. Keep the folder itself.