File lazy loader
Extension for Contao 4.9
Load your styles and JavaScript files easily from the Contao page layout. Using the wizard you can set parameters how and when these files should be loaded. This way optimized scripts and styles can be loaded for Google.
Installation
$ composer require agentur1601com/file-lazy-loader
Options JavaScript
Preload
Preload via the link tagPreload push
Preload via the PHP header linkAsync
Script tag with theasync
flagDefer
Script tag with thedefer
flag
Options CSS, SCSS, SASS
Preload
Preload via the link tagPreload push
Preload via the PHP header linkHead
Simple link style tag in the head sectionScript Delay
Load style tag via JavaScript in the head section
Support
Contact: support@1601.com