r/ShopifyAppDev • • 9d ago

[ Removed by moderator ]

[removed] — view removed post

9 Upvotes

13 comments sorted by

•

u/ShopifyAppDev-ModTeam 1d ago

See title 👆

1

u/Internal-Ninja4390 9d ago

I just shipped a headless site for our shop and the literal first thing my boss said was “wow, it’s so fast” 😂

All jokes aside I really do believe our site is much snappier than our previous.

1

u/Illustrious_Scar_392 9d ago

Haha, that's actually encouraging to hear! Do you know what specifically made the biggest difference compared to your previous setup? Was it the frontend architecture, caching, or just better overall optimization?

1

u/Internal-Ninja4390 9d ago

My intent for headless wasn’t speed related so I never tested the old version for speed baseline. But I’m assuming it’s the next.js + react stack. I’m using sanity for the CMS

2

u/Ok_Tax_80 9d ago

Agree with your read on speed. Done properly both will land in the same ballpark, and whatever marketing adds through GTM after launch will matter more than the backend.

I'd spend the quoting effort on the 3 brands instead. How much do they actually share? If it's one catalog with different assortment/pricing per brand, that's pretty much what Scayle is built for. If they're basically separate businesses, 3 Plus expansion stores works fine, but someone has to keep products/stock/content in sync between them, and that part usually isn't in the first estimate.

Do they ship from one warehouse? That alone would tell you a lot.

1

u/ammi1378 9d ago

So I suspect the frontend and caching decide most of it whichever backend sits behind them.

True but not precise: in my latest ecommerce project i used medusa (which is open source), and there are two levels of caching

  1. The medusa/backend itself where it caches queries in redis, so there is caching in place for api requests (or general data request). it reduced response time from 120ms to 40ms when listing products.
  2. The caching control that you have on your frontend: the website has caching on page document response like every other app, also there is a cache in place for secondary page navigations. we are using tanstack and each page navigation runs a loader to fetch required data (when the page fully loads, page navigation become client side, so no page refreshes), caching this dramatically improved the navigation speed. we were only capable of doing this because every page/api has required tags so we know when to invalidate what cache, it gave us fast navigable pages while our servers hit less.

the headless itself doesn't give you the speed boost out of the box, but it gives you a level of control that you can make it crazy fast.

1

u/bakura10 9d ago

To be fair, not so much. A modern Liquid theme can be extremely fast.

Liquid performance has improved significantly over the last few years, and many features that once required complex, slow custom code (such as color swatches) are now natively available in pure Liquid. Shopify also added native support for speculation rules last year, making the experience nearly instant in most use cases (currently only in Chrome, but support is coming soon to Safari and Firefox).

Shopify has also recently launched partials (https://shopify.dev/docs/storefronts/themes/getting-started/developer-preview/partial), which is also another opportunity to improve performance.

Of course, a highly optimized headless setup will be slightly faster, but you also lose all the nice Liquid experience and the theme editor... In my opinion, for 99.90% of use cases, Liquid is always the best solution.

1

u/Final_Design_9061 9d ago

I agree the frontend and caching matter most, so I'd benchmark them separately from the backend. For the comparison, I'd test the same page types (home, collection, product) on both builds with the same cache settings, and look at field data like CrUX or real user monitoring instead of only Lighthouse, since lab scores swing a lot. In the Hydrogen docs the loader and caching strategy per query is a big lever, so it's worth checking you aren't comparing a tuned build against an untuned one. TTFB on uncached routes is also worth measuring on its own, because that's where backend latency actually shows up.

1

u/AdventurousUsual7666 9d ago

I don't have clean Hydrogen vs Scayle numbers to give you, sorry. But honestly I think your suspicion is right.

From what I've seen, the backend is usually not what decides it. It's the caching setup, how many requests a page makes before it can render, and the third-party scripts. Reviews widgets, chat, tracking pixels, that kind of thing. Those can usually wipe out any gain from the stack itself.

If you do benchmark it, I'd just make sure it's fair. Same page types, same scripts loaded, same cache rules, and look at mobile p75 LCP more than one lab run. Otherwise it's really easy to end up comparing a clean demo against a real store with everything installed.

So if the real reason is managing 3 brands from one backend, I'd probably just tell the client that straight. Speed is going to come down to how well either one gets built, not which one they pick.

1

u/Leviathant 1d ago

No one has benchmarks against Scayle, because it's not widely used. OP doesn't actually run the setup they talk about, you can go through their post history and see they're a marketer from Morocco. Any mention of Scayle on LinkedIn can be assumed to be posting false information. Read more about the campaign they've been running on this LinkedIn post. And if you see a post about Scayle in any ecommerce subreddits, you might as well report it as spam. Scayle is in its early stages as a platform, and they're misleading potential adopters with fictional stories like this.

1

u/Leviathant 1d ago

u/erdle This user is a known spammer for the Scayle platform. This story is invented as a narrative designed to seed LLMs. You can read more about this on this LinkedIn post. No commerce platform has a perfect record, and new commerce platforms don't emerge onto the market fully formed. But if you don't have any self respect, how is anyone else supposed to respect what you do? If you can't be honest in public, can you be trusted in private?