• after i installed the update my design is broken. clicking on the minified css file shows:

    <b>Parse error</b>: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE in <b>/www/htdocs/mydomain/wp-content/plugins/wp-minify/min/config.php</b> on line <b>162</b>

Viewing 11 replies - 16 through 26 (of 26 total)
  • Broken here 2. We get: HTTP/1.0 400 Bad Request

    Same problem here. I also get HTTP/1.0 400 Bad Request using WP-Minify 1.1.6 with a fresh WP 3.1.2 installation at a test site. (No other plugins and an unmodified Twenty-Ten theme)

    I traced the cause of “get HTTP/1.0 400 Bad Request” to a PHP error on line 859 of “wp-content\plugins\wp-minify\wp-minify.php”. I am using a Windows Server and there is a deeply-seated problem with filemtime() under Windows due to the fact that it calls the Windows stat() function, which implements DST (according to this bug: https://bugs.php.net/bug.php?id=40568). The detection of DST on the time of the file is confused by whether the CURRENT time of the current system is currently under DST.

    A fix for that problem is available here:
    https://www.php.net/manual/en/function.filemtime.php#100692

    After adding a function to fix the problem on line 859 I discovered the same problem on two other lines in the same file. After those problems were fixed another PHP error occurred due to other code that is not compatible with the Windows operating system. All those problems could be fixed, but I have decided look for a Windows-compatible plugin or write my own.

    Forget about wp-minify. Use AutOptimize it works a lot better and no bugs stable since end of 2010

    Thanks hydn, I will give AutOptimize a try.

    @hydn, it appears after some quick tests that you are right about AutOptimize. I hadn’t tried it before, because the developer no longer seems to support it and because of concern that moving all JavaScript to the bottom of pages would break functionality. However, it is refreshing to find a plugin that in contrast most others I have tried recently is well-written and actually works as described. So far the JavaScript issues I was concerned about haven’t caused any problems and if there are compatibility issues with future WP versions I can fix them myself.

    Thanks for taking time to post your recommendation.

    @admintiger

    YW. I was beyond amazed as to how much better and non-buggy this dead plugin is.

    If you are goning to enable HTML minify make sure you are using some sort of Cache solution like WP SuperCache because without one it will slow down page delivery since pages have to be minified for EVERY request.

    On the other hand, WITH a cache solution like WP Super Cache the FIRST request is minified and saved in WP Super Cache’s /cache/ folder thus all subsequent requests are static minified HTML pages. Much faster!

    This applies to WP Minify also. But more so to AutOptimize. Compare the HTML (view source) and you’ll notice autoptimize reduces the size of HTML code MORE than WP Minify at the cost of added generation time. But if cached then this equals BEST static page serving performance after cache is primed with pages.

    If you have any java script issues just enable “Look for scripts only in <head>?”

    @hydn, our comments should be AutOptimize forum posts, so people considering that plugin will see them. However, I want to confirm that what you wrote above is true. Over the past several days I have installed and throughly tested all the various minification/caching/cdn plugins I could find at a test site that has pages loaded with unusually rich content (multiple large css files, multiple htc files, many images, audio, video, multiple JavaScript files, etc.). Most of the plugins I tried are seriously flawed by coding mistakes, fallacious underlying design logic, poor html header parameter choices, misleading setup information, and/or operating system incompatibilities. In contrast, AutOptimize and WP SuperCache work together flawlessly on both Linux and Windows servers (running Apache, I haven’t tested with other web servers). Both plugins are simple to install and configure, and when used together page loading times half way around the planet are phenomenal.

    I’m on windows IIS. U have an email or way I can send u a link to my test site?

    I found this plugin Autoptimize by chance, while looking for “expires” plugin. WordPress classification is to be blamed for poor placement of plugins. IMHO this should come below Wp-minify, bwp-minify ones.
    The plugin works best on minification. But when I used WP Super Cache, somehow the cache pages did not match, meaning some conflict with Autoptimize.
    If I optimize Javascript, my rotator stops. Any idea how can I exclude my rotator script?

Viewing 11 replies - 16 through 26 (of 26 total)
  • The topic ‘[WP-Minify] 1.1 is broken’ is closed to new replies.