agentur1601com/file-lazy-loader

0.1.10 2021-02-17 11:39 UTC

This package is not auto-updated.

Last update: 2024-12-19 07:34:01 UTC


README

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: support@1601.com