Download the PHP package buddha-code/buco-font-preload without Composer
On this page you can find all versions of the php package buddha-code/buco-font-preload. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download buddha-code/buco-font-preload
More information about buddha-code/buco-font-preload
Files in buddha-code/buco-font-preload
Package buco-font-preload
Short Description Shopware plugin to preload font assets
License GPL-3.0
Homepage https://github.com/buddhaCode/BucoFontPreload
Informations about the package buco-font-preload
BucoFontPreload
Shopware plugin to preload font assets
Features
This plugin enables preloading for Shopware's standard fonts. You can select which of the Shopware fonts will be loaded. Additionally, you can specify custom fonts as well. With fonts preloading the performance of your page can be improved. The font assets are known to the browser in advance and doesn't need to be resolved through the CSS file. As a result, the browser can load the font assets faster.
For further information refer to the Google Web Font Optimization page please.
Technical information
This plugins appends the frontend_index_header_favicons
template block. So please be sure, that this block isn't replaced in your theme. Also, the template variables $SHOPWARE_VERSION
, $SHOPWARE_VERSION_TEXT
and $SHOPWARE_REVISION
will be set for all frontend controllers.
Compatibility
- PHP >= 7.0
- Shopware >= 5.2.0
- Compatible with Performance Improvements's "Remove shopware revision from font path" option
Installation
Git Version
- Checkout plugin in
/custom/plugins/BucoFontPreload
- Install and active plugin with the Plugin Manager
Install with composer
- Change to your root installation of Shopware
- Run command
composer require buddha-code/buco-font-preload
- Install and active plugin with
./bin/console sw:plugin:install --activate BucoFontPreload
Contributing
Feel free to fork and send pull requests!
Licence
This project uses the GPLv3 License.