Online store performance and site speed optimization
I try to inline javascript but run into the 256 kB limit of the theme.liquid template.
Is it possible to overrun this limit? How?
You can't.
I have a client where the css is inlined, to handle this I setup a build process to split the file in half into two seperate snippets.
You could take this same approach with JS, however, it's possible the JS will break if you just split it right in half, so you will have to be careful.
could you post some documentation where I can read more about this limit?
There isn't any official shopify documentation I could find.
On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023You've downloaded the Search & Discovery app from the Shopify App store, and as you're ...
By Skye Nov 8, 2023The year-end shopping season is just around the corner. Is a flash sale on your radar? Are...
By Jasonh Nov 6, 2023