Skip to content
This repository was archived by the owner on Mar 2, 2026. It is now read-only.
This repository was archived by the owner on Mar 2, 2026. It is now read-only.

How to add rel=preload to improve lighthouse performance score #52

Description

@hjujah

I keep having this error in the lighthouse audits and I can't find a workaround for it:
Consider using to prioritize fetching resources that are currently requested later in page load.

Its dramatically decreasing the performance score, so i am wondering if there is a way to add the preload attribute somehow?

Here is what I have in my nuxt config atm:

webfontloader: {
      custom: {
          families: ['GarnettMedium-Regular', 'Staff-Medium', 'Staff-Regular'],
          urls: ['/fonts.css']
      }
 }

Any help would be highly appreciated! Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions