selveq / performance
Magento 2 Performance extension for ScandiPWA theme
2.0.0
2026-09-18 20:13 UTC
Requires
- php: ^8.3
- magento/framework: ^103.0
- magento/module-catalog: ^104.0
- magento/module-catalog-graph-ql: ^100.4
- magento/module-catalog-inventory-graph-ql: ^100.4
- magento/module-configurable-product: ^100.4
- magento/module-eav: ^102.1
- magento/module-inventory-api: ^1.2
- magento/module-inventory-catalog: ^1.3
- magento/module-inventory-catalog-api: ^1.3
- magento/module-inventory-configuration-api: ^1.2
- magento/module-inventory-sales-api: ^1.2
- magento/module-store: ^101.1
- magento/module-swatches: ^100.4
- magento/module-wishlist-graph-ql: ^100.4
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
README
Fork of scandipwa/performance 1.5.7, maintained by Selveq for Magento 2.4.9 and PHP 8.3. Module name and namespace are unchanged, and the package replaces scandipwa/performance at every version, so it installs as a drop-in replacement. Selveq is not affiliated with or endorsed by Scandiweb.
What it does
- Computes the product fields the ScandiPWA theme reads in one pass per page: collection post-processors (media gallery, options) and data post-processors (attributes, images, stock).
- Publishes
s_attributes,stock_status,only_x_left_in_stock,salable_qty, andimage,small_imageandthumbnailasOptimizedProductImagewithpath,urlandlabel. - A resolver that lists products runs the processors, as
catalog-graphql,quote-graphqlandwishlist-graphqldo; another module adds a processor through the twoApiinterfaces and thedi.xmlprocessor arrays. - Keeps a page's stock reads to a fixed number of queries whatever the product count.
Install
composer require selveq/performance bin/magento setup:upgrade
License
OSL-3.0, the license of the original work. Scandiweb's copyright notices are kept in every file, and each file Selveq changed carries a Modifications © Selveq notice.