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

magnolia gzip compressed cache sometimes produces hieroglyphics on user browser

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 4.4.10, 4.5.7
    • 4.4.4
    • cache
    • None
    • Linux RH 5.7 + Tomcat 6.0.32 + Apache 2.2.19 (ajp)

      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

        Acceptance criteria

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

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD