[MGNLCACHE-137] Compression allowed content type of javascript differs from mimetype Created: 28/Jun/16  Updated: 30/Jun/16  Resolved: 30/Jun/16

Status: Closed
Project: Cache Modules
Component/s: None
Affects Version/s: 5.4.4
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Florian Fuchs Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled

 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.



 Comments   
Comment by Florian Fuchs [ 30/Jun/16 ]

This issue duplicates MAGNOLIA-6682

Generated at Sun Feb 11 23:52:34 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.