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.

Installs: 214

Dependents: 0

Suggesters: 0

Security: 0

Stars: 3

Watchers: 3

Forks: 0

Open Issues: 0

Language:JavaScript

Type:magento2-module

1.0.5 2023-10-20 09:50 UTC

This package is auto-updated.

Last update: 2024-10-20 12:11:23 UTC


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