Is there a way to make your product page images load before your header scripts?

Is there a way to make your product page images load before your header scripts?

Generally not, unfortunately since the browser loads the scripts in the head of the page first, usually you can’t prioritize things in the body (like images). however, most head scripts are async, which means they don’t block the rest of the page from loading.

Assuming this is about page speed, we’ve got some good resources here about how it works