u/MightyRylanor

▲ 15 r/Nuxt

Not sure what changed in the past few months, but SSR on Nuxt feels insanely fast right now

I'm seeing like sub 400ms page loads (avg. 284.8ms per page) on non-cached SSR sites using the Shopify Storefront API. It also may be that I have my ecom sites hosted through Cloudflare, but idk if there was a significant update to Nuxt lately or not.

Anyone else seeing a change in their SSR sites? I don't remember my sites being this way even 4-5 months ago.

reddit.com
u/MightyRylanor — 3 days ago

Hey all! So this is my first year developing in Liquid as an experienced headless ecom dev (using the Shopify API). I notice some limitations in Liquid, but a huge one is not being able to create blocks within blocks. I have come up with a shape system for blocks that is the following:

Block guide: □ and ■ are blocks. ○ and ● are blocks nested within a block. Outlines can be reordered, filled are fixed.

My use case is this: I have a header section with movable header blocks (Menu, Logo, and Actions). A user can also add Menu Image blocks (as much as they want) and move them in any order.

The implementation looks like this so far (I haven't added in locked blocks yet, but those exist on my footer):

https://preview.redd.it/b84jlj8spuzg1.png?width=576&format=png&auto=webp&s=c9e28336e2f36d238cfbcbce8452e1007883e0f6

Haha idk, I thought shapes would be a good idea for visual clarity. Any feedback would be great!

reddit.com
u/MightyRylanor — 6 days ago