• Resolved felipexperto

    (@felipexperto)


    Hi Steve. What’s up?

    I would like to request what I think it’s an improvement of the lazy loading feature.
    I noticed that A3 Lazy Load uses webfont.js to load Google Fonts(which is great) but Google Audits keeps bothering me to “Ensure text remains visible during webfont load”.

    When I was researching about it, I discovered that a simple &display=swap is missing in the end of the <link> tag. Reference: https://web.dev/font-display/

    What do you think about it?

    Thanks in advance!

Viewing 1 replies (of 1 total)
  • Plugin Author Steve Truman

    (@a3rev)

    Hi @felipexperto

    You are correct in that a3 Lazy Load uses webfont.js to load Google Fonts – but this is only on the backend in the a3rev Plugin Framework that the admin panels are built on. It does not load Google fonts on the frontend.

    Those fonts will be loaded by the theme / theme framework you are using or perhaps by a plugin. You will need to identify which it is and then contact the developer and ask them to add &display=swap to their fonts.

    Regards
    Steve

Viewing 1 replies (of 1 total)
  • The topic ‘[Patch] [Request] Display: Swap for lazy loading’ is closed to new replies.