Skip to content

Commit 51d7eb6

Browse files
authored
Merge branch 'master' into add-redis-menu
2 parents 43606c8 + a588b5b commit 51d7eb6

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

docs/hypernode-deploy/applications/config-for-magento-2.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,32 @@ return $configuration;
9797

9898
This automatically enables split static deployment for optimal build performance.
9999

100+
### High-Performance Static Content Deployment (Experimental)
101+
102+
```{warning}
103+
This feature is experimental and may cause unexpected issues. Test thoroughly in a staging environment before using in production.
104+
```
105+
106+
For Hyvä-based stores, you can enable a Go-based static content deployer that is **230-380x faster** than Magento's native `setup:static-content:deploy` command. Typical deployment times drop from ~115 seconds to ~0.3-0.5 seconds.
107+
108+
```php
109+
<?php
110+
111+
namespace Hypernode\DeployConfiguration;
112+
113+
$configuration = new ApplicationTemplate\Magento2(['nl_NL', 'en_US']);
114+
115+
$configuration->setMagentoThemes([
116+
'Vendor/theme' => 'nl_NL en_US',
117+
]);
118+
119+
$configuration->enableHighPerformanceStaticDeploy();
120+
121+
return $configuration;
122+
```
123+
124+
For more information, see the [Hypernode Deploy v4.8.0 changelog](https://changelog.hypernode.com/hypernode-deploy-v4-8-0/).
125+
100126
### Defining custom steps
101127

102128
You potentially need to add custom steps to the deployment, for example to build npm assets or do server actions after deployment.

0 commit comments

Comments
 (0)