image icon indicating copy to clipboard operation
image copied to clipboard

Components or presets for LCP and lazy elements

Open Baroshem opened this issue 8 months ago • 0 comments

Hey there!

I recently thought about a feature addition to the Nuxt Image that will deliver following functionality in form of additional component or a preset:

  1. Largest Contentful Paint element that will not be lazy loaded, will have a fetchPriority high, preload, and maybe more
  2. Lazy element, that will have loading lazy, fetchPriority low, etc.

This way, users would be able to just set a preset for the element that they want to be loaded first (LCP) and the ones that can be loaded after (i.e icons in the footer).

WDYT?

I am happy to contribute with this change if you think that it will make sense :)

Baroshem avatar Apr 18 '25 04:04 Baroshem