How to make load image fast
Images are main parts of any website, Because It says lots of things than text. So it is important to load it fast as much as fast.
To load image fast use below attributes
<link rel="preload" as="image" href="https://site.com/imgs/image.jpg">
<img fetchpriority="high" decoding="async"
src="https://site.com/imgs/image.jpg"
class="myclass" alt="myimage"
width="765"
height="599">
Sunday, March 10, 2024
Home »
» How to make load image fast
How to make load image fast
Add Dependent Scripts
here is the code that allow to add dependent script : <script> const addDependentScripts = async function( scriptsT...
0 comments:
Post a Comment