
Comparisons between Hyvä and Luma often quote a single speed score. It is more useful to understand where the difference comes from, because that tells you what a migration will improve on your own store and what it will leave untouched.
This article breaks the gap into its parts: what the browser downloads, what it has to execute, how styles are delivered, and which factors no theme can change.
Fewer files to download
Hyvä's makers report that a default Luma page makes around 230 requests, against roughly five for Hyvä, a reduction of about 98%. Uncompressed page weight falls from about 3 MB to 0.4 MB, a reduction of around 86%.
These are vendor figures taken from default installations. A real store with its own extensions, fonts and tracking scripts will differ, but the overall direction holds: far fewer files reach the browser.
Fewer requests matter even on modern HTTP/2 connections. Each file still has to be discovered, requested, downloaded and processed, and on a mobile network with high latency those round trips add up.
Less JavaScript to execute
Download size is only part of the cost. The browser must also parse and run every script. Luma initialises Knockout bindings and RequireJS modules on each page, which keeps the main thread busy at exactly the moment a shopper tries to tap or scroll.
Alpine.js is small and attaches behaviour only where a template declares a component. On a typical product page, that means a handful of small components for the gallery, options and add-to-cart button, rather than an application framework booting up.
Recent Hyvä releases go further with the x-defer directive, available since version 1.3.7. It postpones initialising non-critical components until they scroll into view, the shopper interacts, or the browser is idle. Less work on the main thread chiefly improves Interaction to Next Paint (INP) and Total Blocking Time.
A smaller stylesheet
Luma compiles Less into a large stylesheet covering every module, whether a page uses it or not. Because CSS blocks rendering, the browser cannot paint the page until that file has arrived and been parsed.
Tailwind scans the templates and outputs only the classes that actually appear. The resulting stylesheet is typically a fraction of Luma's size. A smaller render-blocking file lets the browser paint sooner, which helps Largest Contentful Paint (LCP).
Side by side
| Aspect | Luma | Hyvä |
|---|---|---|
| JavaScript stack | RequireJS, Knockout.js, jQuery | Alpine.js |
| CSS | Less, compiled by Magento | Tailwind CSS, compiled with Node.js |
| Requests per page (vendor figure) | About 230 | About 5 |
| Page weight, uncompressed | About 3 MB | About 0.4 MB |
| Rendering | Server, then heavy client-side setup | Server, light client-side setup |
| Deferred components | Manual, limited | Built-in x-defer directive |
What it means for each Core Web Vital
LCP benefits from a smaller stylesheet and fewer competing requests, so the main image can load sooner. INP usually shows the largest gain, because so much less JavaScript runs during and after load. CLS depends more on templates reserving space for images and banners than on the framework itself; the default Hyvä templates handle this, but custom work must follow the same discipline.
For a deeper look at the metrics and their thresholds, see our guide to Core Web Vitals and SEO.
What a theme cannot fix
- Images. An uncompressed 2 MB hero image will still dominate LCP. Serve modern formats such as WebP or AVIF at the right size.
- Hosting. Slow server response time affects every theme equally. Full-page caching and a capable host remain essential.
- Third-party scripts. Chat widgets, tag managers, review badges and personalisation tools can undo much of the gain.
- Custom code. A poorly written Alpine component can block the main thread as easily as old Knockout code.
- Fonts. Several web font families and weights add requests and can delay text rendering.
How to measure fairly
Compare like with like: the same catalogue, server and caching rules, measured on the same page types. Use a mobile test profile, because that is where the gap is widest.
Lab tools are useful for diagnosis, but they test one simulated visit. Judge the outcome on field data, such as the Chrome User Experience Report or the Core Web Vitals report in Search Console, collected over at least 28 days after launch.
- Record field data for the old theme before migrating.
- Launch the Hyvä theme without changing hosting or extensions at the same time.
- Wait for 28 days of new field data.
- Compare the 75th percentile for LCP, INP and CLS on mobile.
Why Luma became heavy
Luma was not designed carelessly. When Magento 2 launched in 2015, RequireJS was a common way to manage JavaScript modules, Knockout.js offered data binding before modern frameworks were widespread, and jQuery was almost universal. Magento built a flexible UI component system on top of these choices.
The cost of that flexibility is that every page loads the framework needed to support any possible component. As mobile traffic grew and Google began measuring real-world experience, that overhead became harder to justify. Hyvä's approach of loading only what each page needs reflects how the web has moved on since then.
Development speed and maintenance
Performance is not only about what shoppers experience. Agencies report that building a Hyvä theme takes roughly 20 to 50 per cent less development time than comparable work on Luma, according to figures published by the theme's makers.
The reasons are practical. Tailwind classes remove most custom CSS, Alpine components sit beside the markup they control, and there is far less framework behaviour to debug. Simpler code is also cheaper to maintain, so the saving continues after launch.
When Luma may still make sense
Hyvä is not the right answer for every store at every moment. Staying on Luma for now can be reasonable when:
- The store already meets Core Web Vitals comfortably and has no redesign planned.
- It depends on several complex extensions with no Hyvä support and no budget to adapt them.
- A major replatforming decision is pending, making frontend investment premature.
In those cases, targeted Luma optimisation can buy time, with Hyvä planned for the next redesign.
Realistic expectations
A well-executed migration typically produces much lighter pages, clearly better mobile responsiveness and a higher share of URLs passing Core Web Vitals. The size of the gain depends on how heavy the original store was. A cluttered Luma store with many scripts will see a dramatic change; a carefully tuned one will see a smaller but still meaningful improvement.
Conclusion
Hyvä is faster mainly because it ships far less JavaScript and CSS, and because it initialises what remains more carefully. Those gains are structural, so they survive day-to-day development. Images, hosting and third-party scripts still need attention, and the most convincing proof will always be your own field data before and after the switch.
Frequently Asked Questions
On comparable stores, almost always, because it sends far less code. A Hyvä store overloaded with third-party scripts and large images can still be slow, however.
Luma can be improved with careful optimisation, but its JavaScript framework stays on every page. Closing the gap fully usually means replacing that framework.
Interaction to Next Paint usually shows the largest improvement, as much less JavaScript runs on the main thread.
No. They are vendor figures from default installations. Your results depend on your extensions, images, hosting and scripts.


