Skip to content

js files are returned with MIME-type of application/javascript, which by default is not one of the MIME-types generally set up for Apache mod_deflate #12

@weyus

Description

@weyus

All the .js or .min.js (bundle) files returned by AH appear to come back with the MIME-type of application/javascript.

My Apache configuration is currently not set up to compress these types of files.

  1. Is application/javascript a preferred or more standards-compliant MIME-type for Javascript than text/javascript or application/x-javascript?

  2. If so, is there any harm in me adding application/javascript to the list of MIME types available for compression by Apache? I can't imagine there would be since all of the other JS MIME types are in there, but I thought I would ask.

Many thanks.

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