Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-3821

magnolia gzip compressed cache sometimes produces hieroglyphics on user browser

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 4.4.4
    • Fix Version/s: 4.4.10, 4.5.7
    • Component/s: cache
    • Labels:
      None
    • Environment:
      Linux RH 5.7 + Tomcat 6.0.32 + Apache 2.2.19 (ajp)
    • Magnolia Release:
      4.4.10, 4.5.7

      Description

      After upgrading magnolia 4.3.8 to magnolia 4.4.4 we noticed that if a user refresh a page on the browser sometimes she receives a malformed page or "hieroglyphics".

      After a long analysis we discovered that:

      • the malformed page is caused by a css that is transmitted to the browsers compressed with gzip instead of plain text. Using a sniffer we notices that the server, when send the compressed content to the browser, don't set a content encoding header.
      • the hieroglyphics are a the html page compressed sent to the browser as plain text

      All works fine if the user browse the page bypassing apache, directly to tomcat on port 8080.

      To solve this issue we deleted all nodes under:
      modules/cache/config/compression/voters/content type/allowed

      Best regards,
      Damiano

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mdivilek Milan Divilek
              Reporter:
              dbianchi Damiano Bianchi
              Votes:
              3 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response: