Search by

selveq / performance

ahmedwalied

Magento 2 Performance extension for ScandiPWA theme

Package info

github.com/sellveq/performance

Issues

Type:magento2-module

pkg:composer/selveq/performance

Statistics

Installs: 0

Dependents: 5

Suggesters: 0

Stars: 0

2.0.0 2026-09-18 20:13 UTC

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, and image, small_image and thumbnail as OptimizedProductImage with path, url and label.
  • A resolver that lists products runs the processors, as catalog-graphql, quote-graphql and wishlist-graphql do; another module adds a processor through the two Api interfaces and the di.xml processor 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.