Improve Performance
Last updated
Was this helpful?
Last updated
Was this helpful?
In magento-scripts version 2.4.0, page load time was reduced significantly. Due to this improvement, Varnish was disabled by default.
You must have the following version of macOS in order for this feature to work:
macOS 12.2 and above (for Apple Silicon)
macOS 12.3 and above (for Intel)
For the best experience on macOS, it is recommended to enable VirtioFS in the Docker Desktop settings > General > Choose file sharing implementation for your containers.
In general, this package changes the default cache building process, when the cache is empty, it locks all incoming requests and waits until the first request finishes building cache and then all following requests instead of rebuilding cache just use it right away.
So yeah, up to 30% speed improvements for GraphQL requests on the first load from a thin air.
Install Composer package in your project.
Add extra
field in composer.json
After composer install
make sure patches have been applied.
Composer install output should be similar to:
That's it! Happy coding!
See the .
At the time of writing, Docker VMM is in Beta and does not work stably in our testing. If you experience installation issues on Composer 2.8 or newer try updating PHP container images to the latest version by running !
To improve first request GraphQL performance we can use Composer package . (Source code available )