Uploaded image for project: 'Cache Modules'
  1. Cache Modules
  2. MGNLCACHE-137

Compression allowed content type of javascript differs from mimetype

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Neutral
    • None
    • 5.4.4
    • None
    • None

    Description

      The allowed content-type to use compression of javascript files is "application/x-javascript" - actually, the configured mime-type of js files in the system is "application/javascript" - so this results in no compression of javascript files, although it seemed to be intended.

      See compression setting of cache module - /modules/cache/config/compression/voters/contentType/allowed@2 and the configured mimetype in /server/MIMEMapping/js@mime-type

      The setting of the cache module should be corrected, by default.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              fuchs.florian Florian Fuchs
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD