Hypernode Deploy v4.8.0 is here with a major performance improvement for Magento 2 static content deployment and Node.js 24 support!

High-Performance Static Content Deployment

We’ve integrated elgentos/magento2-static-deploy, a Go-based static content deployer that is 230-380x faster than Magento’s native setup:static-content:deploy command.

The Go-based deployer achieves its performance gains through several key optimizations. It leverages native parallelization through Go’s runtime. The deployer maintains low overhead by avoiding a full Magento bootstrap, skipping the dependency injection container, and not accessing the database. Its I/O operations are highly efficient, featuring optimized file copying with buffered I/O and minimal memory allocation. Additionally, compilation is kept minimal, as only email CSS is compiled while the main theme CSS is handled separately by an npm build.

Automatic Theme Detection

The tool automatically detects whether a theme is Hyvä-based or Luma-based:

  • Hyvä themes: Uses fast Go deployment (copy-only with email CSS compilation)
  • Luma themes: Dispatches to bin/magento setup:static-content:deploy for proper LESS/RequireJS compilation

This makes it a drop-in replacement that handles both theme types intelligently. When deploying multiple themes, the tool automatically routes each theme to the appropriate deployment method.

Enabling High-Performance Static Deploy

To enable this feature, add the following to your deploy.php configuration:

$configuration = new Magento2(['nl_NL', 'en_US']);

$configuration->setMagentoThemes([
    'Vendor/theme' => 'nl_NL en_US',
]);

$configuration->enableHighPerformanceStaticDeploy();

The Go binary is pre-installed in the Docker image at /opt/magento2-static-deploy, so no additional setup is required.

Performance Results

On typical Hyvä-based projects, deployment improved from ~115 seconds to ~0.3-0.5 seconds for frontend theme deployment:

  • Throughput: ~40,000 files/second
  • Speedup: 230-380x faster than the PHP implementation

What It Handles

The high-performance deployer supports:

  • Fast parallel file copying
  • Multi-locale, multi-theme, and multi-area deployments
  • Theme module overrides (app/design/{area}/{vendor}/{theme}/{Module}/web/)
  • Vendor module web assets
  • Library files (lib/web/)
  • Content version management (for split deployments)
  • Email CSS compilation (email.css, email-inline.css, email-fonts.css)

For Hyvä themes, full LESS/SCSS compilation is not needed because Hyvä uses Tailwind CSS (pre-built via npm), doesn’t use RequireJS, and handles JavaScript bundling through webpack.

Node.js 24 Support

We’ve added support for Node.js 24 in the Docker images. You can now use the latest Node.js version in your deployments:

image: quay.io/hypernode/deploy:latest-php8.3-node24

Under the Hood

  • Updated deploy-configuration dependency to version 3.7.0
  • Added enableHighPerformanceStaticDeploy() method to the Magento2 application template
  • Pre-installed magento2-static-deploy binary in Docker images at /opt/magento2-static-deploy

How to Update

To use the new version, update your Docker image:

image: quay.io/hypernode/deploy:latest-php8.3-node20

Or pin to a specific version:

image: quay.io/hypernode/deploy:4.8-php8.3-node20

Let us know if you run into any issues or have questions via our support channels.