fishpig / magento2-lazy-knockout-js
There is no license information available for the latest version (1.0.5) of this package.
Lazy load knockout JS and replace messages JS.
Package info
github.com/bentideswell/magento2-lazy-knockout-js
Language:JavaScript
Type:magento2-module
pkg:composer/fishpig/magento2-lazy-knockout-js
1.0.5
2023-10-20 09:50 UTC
Requires
- magento/module-theme: *
README
By default, Magento 2 bootstraps Knockout JS and this adds 50+ extra JS files to each request.
This module stops Knockout.js from being preloaded but still allows it to be loaded explicitly when required.
The module also replaces the Messages system with it's own implementation.
This reduces the number of JS requests for any page by 50.
composer require fishpig/magento2-lazy-knockout-js && bin/magento module:enable FishPig_KnockoutJs