YouTube2Text

Shopify Store Slow? These 5 Changes will Fix It (Shopify Speed Optimization Tutorial 2026) — Transcript

by Shopioso · 4,986 words · 672 segments · language en · Watch on YouTube

Full transcript

  1. 0:00Shopify speed optimization. Is speed
  2. 0:02optimization important for your Shopify
  3. 0:04store? Well, I have to say yes. And
  4. 0:06that's because in the past 12 years,
  5. 0:08I've been mostly working with Shopify
  6. 0:10stores and I know for a fact that
  7. 0:12Shopify stores that were optimized for
  8. 0:14speed [music]
  9. 0:15were getting more sales. And that's
  10. 0:17because I don't know if you relate to
  11. 0:19this, but whenever I go to a website and
  12. 0:22I try to load it up on my phone, for
  13. 0:24example, maybe on the go somewhere in
  14. 0:26city and the site doesn't load up
  15. 0:29immediately, like in 2 3 seconds, I'm
  16. 0:31gone. I'm bouncing fast. [music]
  17. 0:34Maybe thinking that I'm going to go back
  18. 0:35to that website whenever I get to a
  19. 0:37Wi-Fi, but most of the times I forget
  20. 0:39about it and I never go back. And this
  21. 0:41is what happens with your customers. A
  22. 0:43lot of times they have an impulse to buy
  23. 0:46or to check out your product. They go
  24. 0:48from your ads to your website and there
  25. 0:50things get slow and they bounce. So if
  26. 0:52you have visits but nobody actually
  27. 0:54buys, speed can be a huge factor. And in
  28. 0:56this video I want to talk about the top
  29. 0:58five things I would do to improve the
  30. 1:00speed of my Shopify store today. Most of
  31. 1:02them don't include any coding. They are
  32. 1:04just things that you can do in your
  33. 1:06Shopify's dashboard. So if you think
  34. 1:08speed is important for your Shopify
  35. 1:10store, let's jump to number one. So
  36. 1:12number one is stop installing a lot of
  37. 1:14apps on your Shopify store and start
  38. 1:16removing the apps that you are not
  39. 1:18using. Apps should help you make more
  40. 1:20money. If you don't have a clear way
  41. 1:23that an app is making you money, you can
  42. 1:26consider removing it. Apps will slow
  43. 1:28down your store and they do that because
  44. 1:30they need assets in order for them to
  45. 1:32work. They will download the assets from
  46. 1:35third-party servers and those assets
  47. 1:38will be downloaded before your site
  48. 1:41loads. That means that they will often
  49. 1:43block the loading of the main elements
  50. 1:46of the site just to load some asset from
  51. 1:48a server that is maybe slow. This is a
  52. 1:51big issue that I think Shopify should
  53. 1:53address. they should actually host their
  54. 1:55own apps because some companies that are
  55. 1:57creating these apps are using some slow
  56. 2:00servers and because those assets will
  57. 2:03load up slow your website will also slow
  58. 2:06down and that is not good for anyone.
  59. 2:08So, you should have a rule for yourself
  60. 2:10to only install apps that have good
  61. 2:12reviews, first of all, a lot of reviews,
  62. 2:15because then you know that this app
  63. 2:16works and it has good feedback from
  64. 2:18other vendors. And then to only install
  65. 2:21apps that you know that they make you
  66. 2:23money. If for example, you are selling a
  67. 2:25product that needs a sizing chart and
  68. 2:27you know for a fact that people won't
  69. 2:29buy that product because they don't know
  70. 2:31how to actually size the product for
  71. 2:33themselves without a sizing chart, then
  72. 2:35you can have an app installed that will
  73. 2:38help you with that sizing chart. If for
  74. 2:40example, you know that people won't buy
  75. 2:42from you because you don't have any
  76. 2:43social proof on your store, you can
  77. 2:45install a review app and so on. So you
  78. 2:48should see the value an app is creating
  79. 2:50for your store clearly in order to keep
  80. 2:52it installed on your store. Now when you
  81. 2:54decide to remove an app, you go ahead
  82. 2:56and uninstall it. And now because we
  83. 2:59have this new code editor on Shopify, we
  84. 3:02can go ahead and search inside the theme
  85. 3:04to see if the app has left any residual
  86. 3:08code. That means that some apps will
  87. 3:10still leave some code snippets that
  88. 3:12might contain libraries that you will
  89. 3:14then load up without needing them
  90. 3:17because the app is uninstalled. And to
  91. 3:19find out if an app left any residual
  92. 3:22code on your theme, you would go to your
  93. 3:24theme to edit code. And inside the code
  94. 3:27editor, you're going to go to the search
  95. 3:29bar on the left side on the left panel
  96. 3:32right here. You're going to click that
  97. 3:34and you're going to search the name of
  98. 3:36the app that you just installed. And
  99. 3:38let's say I've just uninstalled the
  100. 3:40locks review app. I would go and I would
  101. 3:42search for locks. And if you have any
  102. 3:45mention of that app after uninstalling
  103. 3:47it like I have here, I have this one
  104. 3:49that I've just added at the bottom right
  105. 3:52here. This is just an example I've
  106. 3:54added. But I didn't know that I actually
  107. 3:56had some extra code from the locks
  108. 3:58reviews app on this theme. So you see
  109. 4:01sometimes they can trick you. they can
  110. 4:03just leave some stuff inside even though
  111. 4:05I don't have the app installed. So you
  112. 4:08would find a script like this. You would
  113. 4:10just go ahead and remove it or you can
  114. 4:12comment it out. If you want to comment
  115. 4:15out, you can select it and command and
  116. 4:17slash and then it's going to add this
  117. 4:20comment, this liquid comments [music]
  118. 4:22around the script that you want to
  119. 4:24comment and this should stop it from
  120. 4:26loading and blocking your website. But
  121. 4:29as you can see, searching for these
  122. 4:31apps, you might find some other assets
  123. 4:33that you didn't know you are loading up.
  124. 4:35So that's why sometimes a website can
  125. 4:38get filled up with all these assets that
  126. 4:40it doesn't need and then the performance
  127. 4:42go down the drain. [music] And while we
  128. 4:44are here inside theme.lquid, you should
  129. 4:47go through this file and check it out
  130. 4:49for any leftover codes. Even though you
  131. 4:52don't find them whenever you're
  132. 4:54searching, you can just scroll down and
  133. 4:56look for script tags that you don't
  134. 4:58recognize. Pixel tags. You'll be
  135. 5:00surprised of how many unused things you
  136. 5:02can find inside this file. Now, the
  137. 5:04second thing we can do to improve the
  138. 5:06speed of our Shopify store is to lazy
  139. 5:08load or to defer script tags and assets
  140. 5:11that are loading up. And an analogy I
  141. 5:14used to make is that of going to the
  142. 5:16restaurant. Whenever you go to a good
  143. 5:17restaurant, you [music] go and you order
  144. 5:20your drinks, your first course, your
  145. 5:22second course, and then your dessert.
  146. 5:24And you don't expect them to all come
  147. 5:26together, if you know what I mean.
  148. 5:28First, the waiter will bring you the
  149. 5:30drinks, then they will bring you your
  150. 5:32first course, [music] and then they will
  151. 5:33bring you the second, and then the
  152. 5:35dessert. The same goes with your
  153. 5:37website. You don't want to deliver
  154. 5:39everything at once because if you're
  155. 5:41waiting for the first course to be done,
  156. 5:43the second course to be done, and the
  157. 5:44dessert to be ready until you get it to
  158. 5:47the customer's table, the customer might
  159. 5:49get impatient. You want to bring them
  160. 5:51their drinks first so that they can keep
  161. 5:53on talking and waiting a little bit for
  162. 5:56the first course. [music] Then you
  163. 5:58prepare the first course, you bring it
  164. 5:59to them, then they have the first course
  165. 6:01and that takes a little bit of time time
  166. 6:03that you can prepare the second course
  167. 6:05and so on. So you don't want to bring
  168. 6:07everything to the table at once. You
  169. 6:09want to bring everything gradually. On
  170. 6:12our website, we should prioritize
  171. 6:14everything that is visible on the screen
  172. 6:16and you don't have to scroll for.
  173. 6:18[music] So everything that you see here
  174. 6:21should load faster. You should
  175. 6:22prioritize the main styling of the site.
  176. 6:25You should prioritize everything in here
  177. 6:27in the banner, everything in the hero,
  178. 6:29this images over here. So everything
  179. 6:32that is visible should be prioritized.
  180. 6:34And for example, we have this widget
  181. 6:36over here, the rewards widget. This is
  182. 6:39not important. So the customer should
  183. 6:41not wait for the assets of this app to
  184. 6:43load up until they see the hero banner.
  185. 6:46For example, the hero banner is more
  186. 6:48important. And whenever we can, we
  187. 6:50should lazy load apps and more so when
  188. 6:52the apps are not essential for the
  189. 6:55buying process. And in order to have the
  190. 6:57essential assets rendered correctly so
  191. 6:59that we have here over the default
  192. 7:00everything shown fast without getting
  193. 7:03blocked by some scripts or some things
  194. 7:06that we have on our theme. We would go
  195. 7:07inside the theme and we would look for
  196. 7:10assets that we can lazy load. Maybe we
  197. 7:12have scripts from apps. Maybe we have
  198. 7:15scripts from different widgets that we
  199. 7:17are using. We should go inside the theme
  200. 7:20and make sure that they are lazy loaded
  201. 7:22or they are deferred. And to do that,
  202. 7:25I'm going to click here and I'm going to
  203. 7:27go to edit code. Inside the code editor
  204. 7:30again, I'm going to go to theme.lquid.
  205. 7:33This is the file that holds most of our
  206. 7:35scripts. And what we want to do is go
  207. 7:37through it and look for script tags like
  208. 7:40this one for example that don't have
  209. 7:42this defer property in there. So
  210. 7:45normally all script tags should have
  211. 7:48defer or they should have async. there
  212. 7:51means that this script will load after
  213. 7:54the main document. This means it's
  214. 7:55prioritizing the document getting loaded
  215. 7:58and then the script will get loaded. If
  216. 8:01instead we would have here async, that
  217. 8:03means that the document and the script
  218. 8:06get loaded in the same time. And while
  219. 8:08this is also good, defer is better. So
  220. 8:11whenever you can use defer, then you can
  221. 8:14try with async. And I say use defer or
  222. 8:17try async because some of the scripts
  223. 8:19will stop working if you add defer or
  224. 8:22async. So you should be careful. You
  225. 8:24should know exactly what that script
  226. 8:26does. For example, I have here a script.
  227. 8:29And by the way, you should never do
  228. 8:31this. So you should not use jQuery on
  229. 8:33your theme anymore. jQuery is kind of
  230. 8:35old technology. You should use vanilla
  231. 8:37JavaScript instead of jQuery. But this
  232. 8:39is another discussion. Let's say I have
  233. 8:41this script over here and I try to add a
  234. 8:45defer property to it or an async
  235. 8:47property to it. If I don't know the
  236. 8:49functionality that it powers, I don't
  237. 8:52know how to check if that functionality
  238. 8:55still works when I add this properties
  239. 8:57and if I add async or defer to the
  240. 9:00script, those functionalities might not
  241. 9:02work anymore on the store. So be
  242. 9:04cautious when you do this. If this would
  243. 9:06be an app, for example, if instead of
  244. 9:08this you would have the name of the app
  245. 9:10and then a JS at the end, you know this
  246. 9:13is coming from a certain app that you
  247. 9:15are using. You can load up your store
  248. 9:18and look at that app's functionality.
  249. 9:21Then you can go here and add a defer
  250. 9:24parameter in there. So you can just add
  251. 9:26defer like that. Then you can save and
  252. 9:29you can check the functionality of that
  253. 9:31app and if the app is still working then
  254. 9:34you can keep the defer in here. This
  255. 9:36will help the loading process. If the
  256. 9:38app stops working you can go ahead and
  257. 9:40exchange this with an async like that
  258. 9:44and that can also help the loading of
  259. 9:46your store. If async doesn't work,
  260. 9:49unfortunately you cannot do anything
  261. 9:51about it. You'll have to keep that
  262. 9:52script the way it is in order for the
  263. 9:54functionality to keep on working. Of
  264. 9:56course, in this case, if I would be to
  265. 9:58keep this script the way it is, this
  266. 10:00will block the loading of my store. So,
  267. 10:03if I go now and I perform a speed test
  268. 10:06on this. So, let me refresh the page.
  269. 10:09You can go to Lighthouse. So, in order
  270. 10:11to get to that, you're going to inspect
  271. 10:13the page. Then, you're going to go to
  272. 10:15the Lighthouse tab here, and you can run
  273. 10:18here a speed test. This will analyze the
  274. 10:20loading speed of the store. And if I
  275. 10:23scroll down at the details, we have here
  276. 10:25rendering blocking and we can find the
  277. 10:29file right here. It is blocking the
  278. 10:31loading of the site and this is
  279. 10:33impacting the performance. Let's go and
  280. 10:36let's remove that to see the difference.
  281. 10:38So I'm going to add here defer and I'm
  282. 10:40going to save. As you can see the error
  283. 10:43message that was there before doesn't
  284. 10:45show anymore. And if I go and I run the
  285. 10:48test again. So, I'm going to analyze the
  286. 10:51page load. Let's see the difference. And
  287. 10:53here it is. We have 80% instead of 78
  288. 10:57and we have less blocking and we don't
  289. 11:00have that message there anymore. Let's
  290. 11:02go and let's remove the jQuery script
  291. 11:04completely. So, I'm going to remove it
  292. 11:07from there. And I'm going to run the
  293. 11:09test again. Let's see the difference
  294. 11:12now. And yeah, we have 81 now. One point
  295. 11:15with just one script. [music] Imagine
  296. 11:17again if you had multiple of these. What
  297. 11:20impact could those have? So if you
  298. 11:22absolutely need to work with jQuery or
  299. 11:25add a script like this on your theme,
  300. 11:28don't do it like this. Don't do it with
  301. 11:29a CDN link. Just download the file
  302. 11:32itself. Just copy this link over here.
  303. 11:36Open it in a new tab and paste it in
  304. 11:38there. You're going to have the file
  305. 11:39that you are using and you can save it
  306. 11:42to your computer. Then you can go and
  307. 11:44you can upload it to your assets. Then
  308. 11:46you can serve it from your assets
  309. 11:48folder. You can go ahead and paste the
  310. 11:51name there. You can copy one of this
  311. 11:53scripts over here. So you do it the same
  312. 11:55way Shopify did it inside the horizon
  313. 11:59theme. This is the name of the file you
  314. 12:01want to load. And because it is hosted
  315. 12:03here in the assets folder, you can go
  316. 12:05ahead and just replace the name in
  317. 12:07there. And by adding this asset URL and
  318. 12:11this variable in here, it's going to
  319. 12:14serve it from the Shopify CDN, which
  320. 12:16should perform better. If you hover this
  321. 12:19link over here, you're going to get this
  322. 12:20popup, and it says here, asset should be
  323. 12:23served from the Shopify CDN for better
  324. 12:25performance. And while I'm here, I want
  325. 12:27to show you how Shopify actually injects
  326. 12:29code and app scripts inside your theme.
  327. 12:33And it is through this tag over here. So
  328. 12:36if I go to my store, this is my store
  329. 12:38and these are the apps that I have
  330. 12:40installed. But if I go to the customizer
  331. 12:44inside the app embeds, nothing is turned
  332. 12:47on. So in this moment, I shouldn't have
  333. 12:50any apps turned on. So if I go back to
  334. 12:53the the speed test and I run it again,
  335. 12:56this is the speed that I'm getting. And
  336. 12:59there we go. This is the result right
  337. 13:01now. Let me go back to the code editor.
  338. 13:03So this tag over here is responsible
  339. 13:06with getting all the scripts inside our
  340. 13:09theme whenever the customer loads up the
  341. 13:11site. If I go and I comment this out,
  342. 13:14don't mind everything getting with
  343. 13:16squiggly line. This is an error. The
  344. 13:18code editor shows me that this is wrong.
  345. 13:20You should never do this if you have a
  346. 13:22live theme. I'm going to run the speed
  347. 13:23test again. So I'm going to go here and
  348. 13:27analyze. And this will be the result
  349. 13:29without all the scripts that Shopify
  350. 13:31actually injects in our theme. So now we
  351. 13:34get 100%. This is the dream of every
  352. 13:37Shopify store owner. If I go back here
  353. 13:40and uncomment this and I save, I'm going
  354. 13:43to get back the old result, the result
  355. 13:45that is affected by the Shopify injected
  356. 13:47scripts. So let's run the test again.
  357. 13:51And now we are back at 80%. I've created
  358. 13:54a solution to have this lazy loaded
  359. 13:57completely. [music]
  360. 13:58All you have to do is copy and paste. If
  361. 14:00you want to check out the solution,
  362. 14:02you're going to find the link in the
  363. 14:03description of this video. So, once
  364. 14:05you've downloaded the tutorial file, all
  365. 14:07you actually have to do is go at the
  366. 14:09bottom here where you have a black box
  367. 14:11and copy all the code that is inside the
  368. 14:13box here. And you'll have to come back
  369. 14:16to your code editor and do this. So,
  370. 14:19you're going to have to comment out this
  371. 14:21tag over here. So, comment and slash.
  372. 14:23And you're going to add the code that
  373. 14:26you just copied from the tutorial file,
  374. 14:28which will look like that. And this code
  375. 14:30that we just pasted inside will lazy
  376. 14:33load everything that is inside this
  377. 14:35content for header tag. So, I'm going to
  378. 14:37save that and I'm going to show you how
  379. 14:39that looks like. And in order to test
  380. 14:41this, I'm going to go back to my site
  381. 14:43and I'm going to refresh it. Then, I'm
  382. 14:45going to go to the console here. And
  383. 14:47whenever I enter with the mouse over the
  384. 14:50site, you're going to see that we get
  385. 14:51here Shopio scripts have loaded. And
  386. 14:54that means that all the scripts inside
  387. 14:56that head tag got loaded on user
  388. 14:58interaction. Me scrolling over the site.
  389. 15:01So if I refresh the page again only when
  390. 15:04I go with my mouse over the site, those
  391. 15:07scripts load. And you can see also this
  392. 15:09bar at the bottom. So if I refresh the
  393. 15:11page, you don't see that. Then if I go
  394. 15:14with the mouse over it then it starts
  395. 15:17working. And that means that only on
  396. 15:20user interaction I am loading all those
  397. 15:23files. And that also means that if I go
  398. 15:26now and I run another speed test I'm
  399. 15:28going to get a better score than this.
  400. 15:30So let me go and try it. So now we are
  401. 15:34back close to 100%. It's not 100% but it
  402. 15:38is close to it. So let me try again. Now
  403. 15:41we got 97. Now, if I go and I revert the
  404. 15:44changes on the theme, if I remove this
  405. 15:46code that I've just added and then have
  406. 15:49the content for header displayed like
  407. 15:52that on there, I'm going to click on
  408. 15:54retry here and save. If I go back to my
  409. 15:57site and if I run another test, I'm
  410. 16:00going to go back to 80% as it was
  411. 16:03before. [music] And here it is. So
  412. 16:05again, if you want to try this out,
  413. 16:07you're going to have a link in the
  414. 16:08description. This will give you 10 to
  415. 16:1020% over the score you are getting right
  416. 16:13now. But be mindful of your current
  417. 16:15situation. If your store has big
  418. 16:17problems with speed, this solution might
  419. 16:20not have such a big impact over it. Now,
  420. 16:23we also have the apps that are in the
  421. 16:26customized dashboard right here. You
  422. 16:28should have here turned on only the apps
  423. 16:31that you are using and they are making
  424. 16:33you money like maybe Claio for example.
  425. 16:36You shouldn't have a lot of apps in
  426. 16:38here. But if you absolutely need to have
  427. 16:40one, there is a way to lazy load these
  428. 16:42as well. I'm going to link a different
  429. 16:44video in the description or on this
  430. 16:47video somewhere and you can watch that
  431. 16:49one and see how you can lazy load this
  432. 16:51customized integrations as well. Now at
  433. 16:54number three, we have the imagery. So I
  434. 16:57was looking at one of my students
  435. 16:58websites and I saw this image over here
  436. 17:01which was inside the hero banner and
  437. 17:04this image is 8 mgabytes. This is quite
  438. 17:07large for a image that you want to
  439. 17:09upload on your store. The entire store
  440. 17:12should have around 2 or 3 mgabytes. So
  441. 17:15if you have an image like this, this
  442. 17:17will hinder the [music] loading process
  443. 17:19a lot. So if we compare these two, I
  444. 17:22have the original file that I found and
  445. 17:24I have the compressed file. I'm going to
  446. 17:25open them together like that and I'm
  447. 17:28going to go from one to another so that
  448. 17:30you can see the difference. So we are
  449. 17:32now on the compressed one over here. If
  450. 17:34I change it, this is the other one. So,
  451. 17:36this is the 8 mgabyte image and this is
  452. 17:39the compressed image. As you can see,
  453. 17:41the title at the top changes. Can you
  454. 17:44spot the difference?
  455. 17:46Cuz I cannot. So, the compressed one is
  456. 17:50234 kilob and the uncompressed one is 8
  457. 17:55mgabytes. Again, huge. [music]
  458. 17:57And I can show you this other one.
  459. 17:59Again, look at the top here. This is the
  460. 18:01compressed version and this is the
  461. 18:03original version. This is the 400
  462. 18:05kilobytes and this is the 100 kilobytes.
  463. 18:08Can you see the difference?
  464. 18:10So you should compress the images you
  465. 18:13upload on your store. Not all themes
  466. 18:16will serve this 8 mgabytes file if you
  467. 18:18upload it. That means that they will
  468. 18:21compress the file themselves. So some
  469. 18:23themes will reduce the file size and
  470. 18:26will serve a smaller size file. But you
  471. 18:29should go ahead and compress your images
  472. 18:31before uploading them on your Shopify
  473. 18:34store. You can compress images on
  474. 18:36Photoshop or you can compress images on
  475. 18:38websites like tinyjpeg.com.
  476. 18:41You can just drag your image on top
  477. 18:43here. And [music] this is so big that
  478. 18:46this website doesn't accept it actually.
  479. 18:48So you'll have to go ahead and resize it
  480. 18:51before you compress it. You can go to
  481. 18:52photoa and you can upload your image in
  482. 18:55here.
  483. 18:57Then you can go to image and size and
  484. 19:00you can change the resolution here. I'm
  485. 19:03going to say 2,000 because that's
  486. 19:06[music] enough. And I'm going to say
  487. 19:08okay. Then I'm going to go to file and
  488. 19:11export as JPEG. And here you can
  489. 19:15compress it. So 70% should be fine. You
  490. 19:18can go even lower if you want. I'm just
  491. 19:20going to leave it here at 70. And I'm
  492. 19:22going to save. And I'm going to save it
  493. 19:24on my computer again. Once that's done,
  494. 19:26you can go ahead and take a look and see
  495. 19:28how large the image is. And now we have
  496. 19:30a 200 kilobytes image, which is much
  497. 19:34better. Then if you want, you can go
  498. 19:36ahead and try and compress it even more.
  499. 19:38I'm going to drag it over to tiny JPEG.
  500. 19:41And yeah, we cannot compress it too much
  501. 19:43more. It just removed 8% from the
  502. 19:46original file we had. Now, I think this
  503. 19:49is compressed enough. And I get that
  504. 19:51this is manual labor. you will have to
  505. 19:53go one by one and compress your images,
  506. 19:56but you can do that in bulk. You can
  507. 19:59install apps that compress images on
  508. 20:02Shopify. So, make sure that your images
  509. 20:04are actually compressed and you don't
  510. 20:07have large files like this one over
  511. 20:09here. You should do the same thing with
  512. 20:10your videos. Make sure that if you have
  513. 20:12videos on your website, they are well
  514. 20:15compressed and the file size is not too
  515. 20:17big. When it comes to images, you should
  516. 20:20only use JPEG and PNG. [music]
  517. 20:22PNG is used only if you need to crop
  518. 20:25something out. If you have like a logo
  519. 20:28that should be transparent over
  520. 20:29something, then you should use PNG only
  521. 20:32when you need transparency. If you don't
  522. 20:35need transparency, you should always use
  523. 20:37JPEG and you should compress your JPEGs.
  524. 20:40Do not use GIF files because GIF files
  525. 20:43are huge in size. If you need an
  526. 20:45animation or a video part, just use an
  527. 20:48MP4 video inside a HTML video tag. That
  528. 20:52will load much faster. And the main rule
  529. 20:54you should have about your media is to
  530. 20:57preload everything that is over the
  531. 20:59fold. So if the customer doesn't have to
  532. 21:01scroll for it, everything there should
  533. 21:03be preloaded. That means you're telling
  534. 21:05the browser to load that faster because
  535. 21:08it has priority. and lazy load
  536. 21:10everything that is underneath the fold.
  537. 21:12Everything that is not visible right
  538. 21:14away should be lazy loaded and only
  539. 21:17shown when the customer scrolls. And one
  540. 21:19more advice when it comes to media and
  541. 21:22files, don't use animations and
  542. 21:24transitions on them. I know they look
  543. 21:26fancy, they look nice and they flow
  544. 21:28differently when you have animations,
  545. 21:30but an animation actually means that the
  546. 21:33site needs to download or to load a
  547. 21:36library of effects first and then
  548. 21:38display the image. And if you have for
  549. 21:41example a hero banner that it needs to
  550. 21:43fade in, first we'll have to download
  551. 21:45that effects library and then the image
  552. 21:48gets displayed. So what you actually
  553. 21:51want is to display that image over the
  554. 21:53fold right away with no delay. This will
  555. 21:56result also in LCP. If you have large
  556. 21:59LCP readings, take a look at your images
  557. 22:02and see if they are using any effects or
  558. 22:04transitions. The fourth point would be
  559. 22:06optimizing your fonts. And I know this
  560. 22:09is not such a big deal and maybe a lot
  561. 22:11of people don't even use custom fonts,
  562. 22:13but if you used the designer to create
  563. 22:15your website, then you might use custom
  564. 22:17fonts. And you know when you get a font
  565. 22:19like that it has many variations.
  566. 22:21Developers and coders might include all
  567. 22:23of them like itallic, bold and all the
  568. 22:26variations of that font. Just because we
  569. 22:29have them displayed once on our website
  570. 22:32that doesn't mean that we should
  571. 22:34actually load them because all of them
  572. 22:36have a file size and we don't want to
  573. 22:39load up an asset just to show it
  574. 22:41somewhere on the page just in one place.
  575. 22:44If you have a good reason for having
  576. 22:46custom fonts, then keep them. But try
  577. 22:49not to have more than three variations
  578. 22:51of those. If you have like five, 10
  579. 22:54variations of the same font just because
  580. 22:56you have an occurrence somewhere on the
  581. 22:58side, that is not a great idea because
  582. 23:00all of those fonts will add up and the
  583. 23:02performance of your store will go down.
  584. 23:05And if you are using custom fonts on
  585. 23:07your theme, you should go ahead and
  586. 23:08check if they are using the swap
  587. 23:10property. To do that, you're going to go
  588. 23:12to your code editor and you're going to
  589. 23:15search in here for add font minus face.
  590. 23:19And if you have occurrences like this,
  591. 23:21you should open them up. And you should
  592. 23:23make sure that this fonts that are
  593. 23:25imported like that have this property
  594. 23:27font display swap. This will ensure that
  595. 23:30the font will be swapped whenever it
  596. 23:33downloads. This will help with the
  597. 23:35site's performance. I think that
  598. 23:36nowadays we don't actually need this
  599. 23:39custom fonts because we have a lot of
  600. 23:41fonts options inside the Shopify themes.
  601. 23:44If you can, if you don't have like a
  602. 23:46complicated design from a designer that
  603. 23:48has a reason to be that way, then just
  604. 23:50use the Shopify fonts because they are
  605. 23:52good enough. And the fifth point is to
  606. 23:54actually choose the right theme for your
  607. 23:57business. So don't go and maximize.
  608. 24:00Don't go and choose the best theme of
  609. 24:02the best because the best themes and
  610. 24:04even the themes on the Shopify theme
  611. 24:07store, the premium themes, they have a
  612. 24:09lot of options. They have a lot of
  613. 24:11libraries. Libraries and options that
  614. 24:13you will not use. So for most beginners,
  615. 24:15the Dawn theme and the horizon theme are
  616. 24:17the best themes that they can start
  617. 24:19with. So you should not go for something
  618. 24:22more complicated than that. A lot of
  619. 24:24people get impressed by effects, but we
  620. 24:26talked about effects. effects are not
  621. 24:28that great because people have to wait
  622. 24:30for those libraries to get loaded until
  623. 24:33the theme shows certain things and that
  624. 24:35can damage the performance. So, a
  625. 24:37simpler theme will perform better. A lot
  626. 24:40of people are impressed by certain
  627. 24:41features like pop-ups or functionalities
  628. 24:43that free themes don't have. And if you
  629. 24:46know for sure that you're going to use
  630. 24:48those features, if you know for sure
  631. 24:50that those features will make you more
  632. 24:52money, then yeah, of course, go for a
  633. 24:54premium theme. But if you don't have any
  634. 24:57data to back this up, if you just have a
  635. 25:00hunch or if you just heard it in a
  636. 25:02video, you don't actually need to go
  637. 25:04with that premium theme, you can just go
  638. 25:06with a free theme. Try it out and see
  639. 25:08what works for you and your business.
  640. 25:11That will not only save you the money
  641. 25:12for the theme, about 300 bucks. That
  642. 25:15will also ensure that your store will
  643. 25:18perform well. That way, you get good
  644. 25:20odds that your customers will actually
  645. 25:22convert and buy from your store. If your
  646. 25:24store is already established and you
  647. 25:26cannot actually change the theme, that's
  648. 25:29the bad part. You will have to go ahead
  649. 25:30and try to implement everything we
  650. 25:32talked about in this video. Some things
  651. 25:35might get technical because some themes
  652. 25:37are not built for speed. If the
  653. 25:40technology is not that new, then some
  654. 25:43things might be outdated and you will
  655. 25:45just have to further develop the same
  656. 25:47theme. If you are in this situation and
  657. 25:49you have the chance, just start building
  658. 25:51the site again on Dawn or on Horizon.
  659. 25:55That will make it better for you in the
  660. 25:56long term. Even though you will have to
  661. 25:58go through the process of rebuilding
  662. 26:00everything, the process of optimizing an
  663. 26:03older theme can be more costly than the
  664. 26:06process of migrating to a newer theme. A
  665. 26:08lighter, newer theme will always work
  666. 26:10better because it loads up less files
  667. 26:12and it has better technology. But you
  668. 26:15can optimize an older theme as well. If
  669. 26:18you need help optimizing your Shopify
  670. 26:19store, you can drop me a comment. For
  671. 26:21more optimization tips, you can see that
  672. 26:23video. Click it and I'll see you there.

About this transcript

This page contains the full transcript of Shopify Store Slow? These 5 Changes will Fix It (Shopify Speed Optimization Tutorial 2026) by Shopioso, generated from the public captions YouTube serves with the video. The transcript has 4,986 words across 672 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.

What you can do with it

Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to choose a caption track available on the video.

Free YouTube transcript tool

YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, caption language selection, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.