Skip to content

Make RUBY_MIME_TYPES_LAZY_LOAD the default #62

Closed
@halostatue

Description

@halostatue

Although loading the MIME type registry is fairly fast, do not force people to pay that cost up front. Implement ENV['RUBY_MIME_TYPES_LAZY_LOAD'] as the default behaviour and provide a new variable (ENV['RUBY_MIME_TYPES_IMMEDIATE_LOAD']) to fall back to the old behaviour.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions