Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Frank Goossens

    (@futtta)

    I see you’re on nginx, so this tutorial might help to configure it to gzip css & js; https://rtcamp.com/tutorials/nginx/enable-gzip/.

    I’m stumped that the non-static delivery would mess up your site though.

    anyway, hope this helps,
    frank

    Thread Starter KaHo

    (@kaho)

    Hi Frank,

    thank u for the fast reply. Gzip is set up and working fine as it should. Also when i deactivate the Option “save optimized Files as static files”, Googles Speed Insights doesnt Show any GZIP Error.

    I would simply deactivate it, but as i said… in that Moment, my design is breaking. Images are not centered anymore, Icons are missing in footer, and font sizes change…

    I can set the Option now, and hope u are around to have a quick look. Maybe u can tell me what i do have to Change to make my Design work.

    Plugin Author Frank Goossens

    (@futtta)

    Just had another peek, seems you’re on non-static delivery and site does not seem to be messed up?

    Next to that I see you’re also using mod_pagespeed, that might interfere actually.

    frank

    Thread Starter KaHo

    (@kaho)

    Footer as it Looks now (Gzip working, pretty nice Speed at Google Test):

    http://www.kinderschreibtisch-vergleich.de/footer_1.jpg

    Footer as it should look (GZIp not working for the Autoptimized CSS file, when i turn off static)

    http://www.kinderschreibtisch-vergleich.de/footer_2.jpg

    Plugin Author Frank Goossens

    (@futtta)

    Seems to be some double-gzip-encoding going on there somehow KaHo. Something (could be PHP config) is taking the gzipped CSS and re-gzipping it. Find out what that “something” is, tell it not to do that and all should be OK.

    frank

    Thread Starter KaHo

    (@kaho)

    OK, will try that. thank u very much for the hint.

    Thread Starter KaHo

    (@kaho)

    I double checked everything again. It looks like only the CSS code is loaded, which i put in at the “Above The Fold Optimization” Plugin. It seems, rest of the CSS is not loaded after that when deactivating the “save Optimized files as static files” Option of Autoptimize…

    When i disable the “Above The Fold Optimization” Plugin, and turn off “save Optimized files as static files” in Autoptimize, no CSS gets loaded anymore…

    Thread Starter KaHo

    (@kaho)

    Interesting additional Info:

    on my Page: *removed by Author* it works perfectly. 100 % same Plugins, same theme, etc… but there i can turn off the save static and get CSS delivered correctly and gzipped also…

    Thread Starter KaHo

    (@kaho)

    Think i got the solution… Disable mod pagespeed did the trick… ist working fine now.

    Plugin Author Frank Goossens

    (@futtta)

    ahhhh, mod_pagespeed was messing with that CSS was it? weird! but glad you were able to figure it out! 🙂

    Thread Starter KaHo

    (@kaho)

    yes, it was mod_pagespeed. good to know now. Autoptimize works perfect, and above the fold also… All speed scores above 90 🙂

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Problems with Gzip’ is closed to new replies.