Skip to content

Optimization: If HEAD request is 404, skip subsequent GET request #183

@rokclimb15

Description

@rokclimb15

When loading a remote source in downloader.js, if the HTTP server responds 404 for the HEAD request, it shouldn't be necessary to make a subsequent GET request for the asset. You could short-circuit this logic to fail early.

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