This doesn't sound correct to me. If I can literally see the load/blocking time of the assets before my image loads, then it is affecting the image load time. Am I incorrect in my thinking? Because to me, based on what he said, the network part of the developer console would be giving me incorrect information.Assets added before your preload image are later dynamically added when slider module renders, it will not affect your preload setting since it is already parsed by browser and preloaded.
v3.0.4.0 php 8.1
I'm here for a reason, if your response is contact a/the developer, just don't reply.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
v3.0.4.0 php 8.1
I'm here for a reason, if your response is contact a/the developer, just don't reply.
hiJoe1234 wrote: ↑Sat Mar 09, 2024 1:30 amI contacted a developer who has blocking assets somehow loading before my image with a preload tag. I have my image ahead of the javascript and with preload properly set and yet still his javascript loads before the image. I see it in the rendered html and the network developer console. His response was:This doesn't sound correct to me. If I can literally see the load/blocking time of the assets before my image loads, then it is affecting the image load time. Am I incorrect in my thinking? Because to me, based on what he said, the network part of the developer console would be giving me incorrect information.Assets added before your preload image are later dynamically added when slider module renders, it will not affect your preload setting since it is already parsed by browser and preloaded.
network part of the developer console would be giving me incorrect information.= Network part developer console is giving correct information.
OpenCart Support | Please email at: devinlabsolutions@gmail.com , info@devinlabs.com
Your preload image could be loading first but finishing after the script.
The very first piece of code after the head:
Code: Select all
<link rel="preload" as="image" href="https://....webstite..../baby-girl-in-tent-1200x455.jpg.webp" imagesrcset="https://....webstite..../baby-girl-in-tent-1200x455.jpg.webp 1x, https://....webstite..../baby-girl-in-tent-2400x910.jpg.webp 2x" />
Attachments
Screenshot 2024-03-12 120959.jpg (88.2 KiB) Viewed 551 times
v3.0.4.0 php 8.1
I'm here for a reason, if your response is contact a/the developer, just don't reply.
v3.0.4.0 php 8.1
I'm here for a reason, if your response is contact a/the developer, just don't reply.
Users browsing this forum: No registered users and 18 guests