Skip to content

Suggestion: Suggest loading the script with the nomodule attribute #198

@coliff

Description

@coliff

All the browsers which support the nomodule support fully support SVGs so loading svg4everybody as follows:

<script nomodule src="/path/to/svg4everybody.js"></script>

will save HTTP requests/bandwidth for all modern browsers (approx 93% marketshare).
All old browsers will load svg4everybody as normal.

Let me know if you'd like me to open a PR to update the README.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions