Skip to content

Defer loading mavo script #167

@niutech

Description

@niutech

In your primer you should tell users to defer loading a blocking third-party script https://get.mavo.io/mavo.js in the <head>, so it looks like:

<head>
    ...
    <link rel="stylesheet" href="https://get.mavo.io/mavo.css">
    <script src="https://get.mavo.io/mavo.js" defer></script>
    ...
</head>

This is a well-known webperf rule not to block page rendering until the <script> in <head> is loaded. Alternatively, load <script> just before </body>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions