Magento 2 is a popular eCommerce platform based on PHP7 and supports HTML5. The platform supports multiple frameworks,including the Zend Framework 1 and 2 and MySQL Percona 5.6 or greater,as well as its own proprietary frontend frameworks. The platform offers rich, out-of-the-box features, customizations and third-party integrations.
Key features which help performance include:
Despite the above, and the fact that Magento has a built in caching module, the platform does little to help vendors in terms of site speed. In fact, the platform leaves site speed optimization to its customers and their developers / implementors.
In terms of frontends compatibility, Magento 2 offers three proprietary frontends and robust APIs. Its frontends include: Base, Luma, and PWA Studio (available for M2.3 and up) and APIs include: REST, SOAP, and GraphQL. Please note that PWA Studio and GraphQL are both only supported on Magento 2.3 or later. Furthermore, PWA Studio is geared specifically toward the platform, so you remain locked into its ecosystem. You can connect your own portable frontend or headless endpoints to the platform via the GraphQL API, however, customization of Magento's code and/or database schema can disrupt API compatibility.
Layer0 lets you deliver your Next.js store on Magento and enjoy sub-second speeds. While Magento 1 is no longer supported by the platform, it is still compatible with Layer0. The average website on Layer0 see median speeds of 320ms loads, as measured by Largest Contentful Paint (LCP). However, Layer0 is much more than a website accelerator. It is a Jamstack platform for eCommerce. Layer0 makes websites faster for users and simpler for frontend developers to maintain. The platform was built specifically for large-scale, database-driven websites such as eCommerce and Travel and included the following benefits:
With Layer0, your Next.js Magento store will run in sub-second speeds and your developers will be empowered to control edge caching and reduce rework using the various developer productivity tools that come with the platform.
Browse around AKIRA, a Magento website on Layer0. AKIRA sped up its mobile site by 71% on Layer0, with first-page loads dropping from nearly 5 seconds to just north of 1 second, and subsequent pages loading in 500 milliseconds or less.
Layer0 is also a contributor to React Storefront (RSF), an open source eCommerce framework built on Next.js, which powers over billion dollars in eCommerce revenue a year. Try it out if you are in the process of building a modern frontend for an eCommerce site. Or if you're already using Next.js, use the this guide to deploy your Next.js application on Layer0 and get sub-second loads in as little as 1 hour of work.
"Bringing our site to Layer0...helps us keep our top ranking position in search engine result pages."
“Everyone has commented on how blazing fast our site is, which is thanks to Layer0. It was one of the fastest implementations we’ve ever seen”
"We want to be able to fail fast, and [Layer0’s] split testing is a very important piece for us to do this."
“The way you factored in A/B testing is better than any tool I have seen.”