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

    (@futtta)

    Generally speaking, optimizing CSS is pretty harmless when compared to JavaScript. There were however some bugs in 1.6.2 in the CSS optimization code that have been fixed in the development version, maybe you should give that one a spin?

    Specifically for your site;

    • Did you try with the option “Look only for styles in <head>”?
    • Is there one specific CSS-file which you know is indeed wreaking havoc?
    Thread Starter auth1299

    (@auth1299)

    I tried your new pluggin and it is working now.

    Thread Starter auth1299

    (@auth1299)

    I also modified my htaccess. I wrote my own htaccess file to lock down wordpress and I added an exception to allow clients to access the cache directory.

    Plugin Author Frank Goossens

    (@futtta)

    Great! ??

    Thread Starter auth1299

    (@auth1299)

    I’m finding that minify CSS may not be working correctly. Run a perfomance test from https://www.gtmetrics.com on your site with the pluggin and it will show you what is working and not working.

    Plugin Author Frank Goossens

    (@futtta)

    Hmm, can you be more specific? The results for my personal blog are OK.

    Thread Starter auth1299

    (@auth1299)

    ok, on your report look at item (Minify CSS) under page speed. It will tell you that you should minify CSS and it will show you the files that are not minified. Your pluggin is supposed to be minifying the CSS supposedly. But it is showing as not minified.

    Minifying https://blog.futtta.be/wp-content/plugins/syntaxhighlighter/syntaxhighlighter2/styles/shCore.css?ver=2.1.364 could save 875B (46% reduction) after compression. See optimized version
    Minifying https://blog.futtta.be/wp-content/plugins/syntaxhighlighter/syntaxhighlighter2/styles/shThemeDefault.css?ver=2.1.364 could save 671B (60% reduction) after compression. See optimized version

    Plugin Author Frank Goossens

    (@futtta)

    Ah, syntaxhighlighter! That plugin is pretty weird as it does not add CSS in the HTML (inline or with links), but has it’s JavaScript load the CSS. So no, Autoptimize does not aggregate Syntaxhighlighter’s CSS and I doubt there’s the other optimization techniques/ plugins do ??

    Do you see other issues on your site?

    Thread Starter auth1299

    (@auth1299)

    I’m finding your pluggin does not work at all under a windows OS, in fact it makes the performance of the site worse by adding it’s own files and processes.

    Plugin Author Frank Goossens

    (@futtta)

    That’s weird; I use XAMPP on my local Win XP machine to work on this (and other) plugins while on the train and have had no problems running Autoptimize.

    That being said, it is clear that Autoptimize does indeed require processing time & power (except if … see next paragraph), but in general (your mileage may vary) the amount of files that have to be downloaded will be significantly less than without it.

    Regarding the processing time & power; that’s where companion plugin WP Super Cache (or QuickCache or W3 Total Cache) come in. If the HTML (after having been parsed by Autoptimize) is cached by WP Super Cache, Autoptimize isn’t consulted again, so there is no processing overhead at all. That’s when you’ll get the best performance boost possible.

    If you have gtmetrics (or webpagetest.org) stats that I could look at to see what is going on, or the URL of your blog, I’d be happy to have a look!

    Thread Starter auth1299

    (@auth1299)

    What I am saying is that it does not do any of the functions while being hosted on a windows 2008 r2 IIS web server. I ran gtmetrics before activating your pluggin and then after and it did nothing. I was wondering if maybe there were certain functions that require apache web services or linux OS.

    Plugin Author Frank Goossens

    (@futtta)

    no, there’s nothing apache of Linux specific in there. I’d be very interested in looking into this, but understand if you’d not want to share that information here. maybe you instead mall the report url to futtta at gmail dot com instead?

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Layout breaks when enabling CSS Optimize’ is closed to new replies.