yireo-training / magento2-theme-optimized
Installs: 67
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 1
Forks: 1
Open Issues: 0
Language:JavaScript
Type:magento2-theme
Requires
- magento/framework: ^102.0|^103.0
- yireo-training/magento2-theme-jquery-upgrade: *
This package is not auto-updated.
Last update: 2025-03-27 13:52:56 UTC
README
General changes
- See https://github.com/yireo-training/magento2-example-jquery-upgrade
- Upgrade underscore to 1.10.2
RequireJS configuration requirejs-config.js
- Skip
datepicker
andcolor-picker
in Knockout bindings - Remove
calendar.js
- Remove jQuery Migrate
File Magento_Theme/layout/default.xml
- Remove unneeded
calendar.css
andgallery.css
- Remove
yotpo_widget_script
block
Other tips
- Disable CAPTCHA via Stores > Configuration > Customer Configuration
magerun2 config:set customer/captcha/enable 0
Benchmark
http://m2.sirius.yr/men/tops-men/jackets-men.html
- Luma theme
- 206 requests
- 163 JavaScript
- 929Kb transferred
- 657Kb JavaScript
- 3.0MB resources
- 2.2Mb JavaScript
- Finish 3.11s
- DOMContentLoaded: 1.08s
- Load: 1.96s
- 206 requests
- Yireo theme
- 200 requests
- 156 JavaScript
- 867Kb transferred
- 631Kb JavaScript
- 3.2MB resources
- 2.1Mb JavaScript
- Finish 3.10s
- DOMContentLoaded: 1.07s
- Load: 1.89s
- 200 requests