Skip to content

Preload css request instead of prefetch #260

@ghisleouf

Description

@ghisleouf

Hi there,

first of all, thanks for the plugin, it's great !

I've just integrated it to a VueJS ( and vuestorefront solution) and currently, I run a Lighthouse performance test ( like in this issue : #179).

Everything is extracted properly but, for one of the dynamically imported, it's called as prefetched :
<link rel="prefetch" href="/dist/css/1.a8d3ad22.chunk.css">

This is the first component of the page, a slider ... and Lighthouse asks me to preload it instead of prefetch it.

I have 2 questions :

  • how is the mitigation between prefetching and preloading done ?
  • Is there a way to tweak it by component ? or a way to handle this issue ?

Thanks a lot for your help !

Best

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions