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

magnolia gzip compressed cache sometimes produces hieroglyphics on user browser

    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
    • Security Level: Public
    • Labels:
      None
    • Environment:
      Linux RH 5.7 + Tomcat 6.0.32 + Apache 2.2.19 (ajp)

      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

        Issue Links

          Activity

          Hide
          hudson Hudson CI Server added a comment -

          Integrated in magnolia_main-trunk #4800
          MAGNOLIA-3821 stored chachedEntry to cachePolicyResult only when cacheEntry time to live is not 0

          Show
          hudson Hudson CI Server added a comment - Integrated in magnolia_main-trunk #4800 MAGNOLIA-3821 stored chachedEntry to cachePolicyResult only when cacheEntry time to live is not 0
          Hide
          hudson Hudson CI Server added a comment -

          Integrated in magnolia_main-4.4-branch #591
          MAGNOLIA-3821 removed ovverides

          Show
          hudson Hudson CI Server added a comment - Integrated in magnolia_main-4.4-branch #591 MAGNOLIA-3821 removed ovverides
          Hide
          hudson Hudson CI Server added a comment -

          Integrated in magnolia_main-4.4-branch #592
          MAGNOLIA-3821 corrected comment

          Show
          hudson Hudson CI Server added a comment - Integrated in magnolia_main-4.4-branch #592 MAGNOLIA-3821 corrected comment
          Hide
          hudson Hudson CI Server added a comment -

          Integrated in magnolia_main-trunk #4826
          MAGNOLIA-3821 updated comment

          Show
          hudson Hudson CI Server added a comment - Integrated in magnolia_main-trunk #4826 MAGNOLIA-3821 updated comment
          Hide
          hudson Hudson CI Server added a comment -

          Integrated in magnolia_main-4.5-branch #112
          MAGNOLIA-3821 updated comment

          Show
          hudson Hudson CI Server added a comment - Integrated in magnolia_main-4.5-branch #112 MAGNOLIA-3821 updated comment

            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: