Skip to content

Serving a single file via web, loads the entire bundle (unnecessarily) #1

Description

@mprimi

When a file is requested via web:

handleBundleFileDownload > loadBundleFile > _loadBundle

The latter does a bucket .List() and then _loadFile() on each element.
Finally, the list of files is traversed looking for a filename match.

This is unnecessary. _loadBundle could skip loading files, and we could lookup just the one element that is wanted, by filename.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions