Skip to content

use sync xhr over document.write #1

@guybedford

Description

@guybedford

<script> tags don't support local caching and result in 304s making this too slow for development.

So switch over to sync xhr with cors. Require-inline is only for development use - in production it should be shimmed to load from a single layer, so there is no compatibility issue here.

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