Skip to content

1601com/File-lazy-loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

  1. Preload Preload via the link tag
  2. Preload push Preload via the PHP header link
  3. Async Script tag with the async flag
  4. Defer Script tag with the defer flag

Options CSS, SCSS, SASS

  1. Preload Preload via the link tag
  2. Preload push Preload via the PHP header link
  3. Head Simple link style tag in the head section
  4. Script Delay Load style tag via JavaScript in the head section

Support

Contact: [email protected]