Uploaded image for project: 'ZZZ: PUBLIC - Old Liferay Portal (Use Liferay Portal Standard Edition)'
  1. ZZZ: PUBLIC - Old Liferay Portal (Use Liferay Portal Standard Edition)
  2. LEP-4774

CompressionFilter should have a check on contentType like StripFilter does.

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 4.3.6
    • 4.3.7, 4.4.0
    • None
    • None

    Description

      In order to avoid unnecessary re-compression of already compressed data (basically anything binary) com.liferay.filters.compression.CompressionResponse should store the contentType like StripResponse does so that it can be checked for "text/" and only compress if true.

      Attachments

        Activity

          People

            support-lep@liferay.com SE Support
            raymond.auge Raymond Auge
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Packages

                Version Package
                4.3.7
                4.4.0