vuetifyjs / vuetify

🐉 Vue Component Framework
https://vuetifyjs.com
MIT License
39.32k stars 6.93k forks source link

[Feature Request] v-img should proxy fetchpriority attr to img tag #18860

Open hareku opened 6 months ago

hareku commented 6 months ago

Problem to solve

web.dev says fetchpriority is important to improve LCP. https://web.dev/articles/optimize-lcp#optimize_the_priority_the_resource_is_given

Proposed solution

v-img proxies fetchpriority attr to img tag

websitevirtuoso commented 6 months ago

extra information https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/fetchPriority#high

websitevirtuoso commented 6 months ago

Created PR. hope they will accept it soon. sometimes it may take months