• Resolved Lollipops

    (@emcthemes)


    Hey guys, i’ve noticed that ever since the 2.2.x update whenever one of my sites has the “Optimise CSS Code” option enabled (regardless of the additional settings) the plugin seems to be adversely throwing out the theme’s we are using

    It basically stops a lot of the elements from rendering properly on the themes listed below. (all cache cleared or disabled and the issue persist’s), i have to disable this whole section just for the websites to function normally.

    Apus Theme
    Enfold Theme
    Total Theme

    Just wondering if there have been any significant changes to how the css optimization is handled over the last two updates.

    at the very least giving you guys a heads up about this issue.

    very kind regards
    Lee.

    • This topic was modified 8 years, 11 months ago by Lollipops.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    hi @emcthemes;
    2 significant changes in 2.2.x;
    * the CSS minification library got updated
    * a new minification logic was introduced (which you can disable with a filter)

    if you can set up a demo site with one of your theme’s, i’ll be happy to troubleshoot and include a fix in the upcoming 2.2.2 !

    (you can also reach me at futtta-at-gmail-dot-com)

    we’ll fix this! 🙂

    frank

    Thread Starter Lollipops

    (@emcthemes)

    Cheer’s Frank, will get back to you within the next day with a test site for you.

    thanks again!

    Thread Starter Lollipops

    (@emcthemes)

    Update, Narrowing down the issue alightly, it appears to be a conflict between the plugins “Autoptimize” and “Merge + Minify + Refresh”.

    Further Narrowing it down, within “Merge + Minify + Refresh” the conflict occurs only when

    “Enable Output Buffering” – Output buffering may be required for compatibility with some plugins. If its disabled only the header requests will be be sent for HTTP2 Server Push.

    option is enabled. (so possibly some thing to do with code being served via the HTTP2 server push protocall”

    Note: if the CSS optimisation section of “Autoptimize” is switched off the page renders as normal.

    This did not occur prior tot he 2.2x update, might just be some thing the new code is doing is throwing a spanner in the works some where.

    thease two plugins were working hand in hand wonderfuly.

    will email you with the details of the test site shortly.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    hmmm … will have a look when I can access the test-site (cfr. my email yesterday), but a conflict between minifiers (which both AO & MMR are) is difficult to avoid, which is why I advise against using more then one minifier (cfr. FAQ). but maybe this particular problem can be fixed 🙂

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    I tested AO+MMR with MMR’s output buffer on and was not able to reproduce with themes I have on my dev-machine. So somehow this is specific to a combination of AO (CSS) + MMR (OB) + emcthemes?

    anyway, I’ll await further info from you now 🙂

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    so this indeed is down to a conflict between MMR & AO leading to jQuery not being available. excluding /wp-includes/js/jquery/jquery.js from MMR (it is excluded from AO optimization by default) fixed this 🙂

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘v2.2.1 – Major Theme Issue when “Optimise CSS Code” is active’ is closed to new replies.