WP Minify
Minify has a problem in IE for WP 3.4 (6 posts)

  1. Josie Stauffer
    Posted 3 years ago #

    Working in firefox,but shows a blank screen in IE until I disable "minify html"


  2. ShaunLuvsFood
    Posted 3 years ago #

    I get the same problem with the prior version and the latest version of WP Minify. Notices it works fine at home but not at work. A work, can see headers only and the rest is a blank screen. IE reports errors like a missing bracket in a piece of the code.

  3. Kimberly
    Posted 3 years ago #

    It's likely because your html code is not properly formatted. In other words, you have errors in your code. So when this plugin goes to condense there are wackiness happening. My sites have html minify on with this plugin and work perfectly in IE.

    I suggest you both use W3 validation to verify your non-minimifed site and correct the errors. And then see if wp minify works.

  4. Josie Stauffer
    Posted 3 years ago #

    I suspect the problem has to do with this code, generated by the Suffusion theme:

    <style type="text/css"><!--/*--><![CDATA[/*><!--*/

    According to http://hixie.ch/advocacy/xhtml, this is the correct way
    to embed CSS in an XHTML document which may be handled as either HTML4 or XHTML. I'm not expert enough to comment on whether WP-Minify should be able to handle that or whether the problem lies with Suffusion.

    But when I remove the CDATA lines, IE displays the minified page.

  5. Kimberly
    Posted 3 years ago #

    I've seen a slightly different version to what you have there but if i recall its so as to support super old browsers that dont understand the <style> amd <script> tags. And if a browser doesnt understand script/style then they are WAY TOO OLD to handle anything you serve up. I personally dont see the point of having the extra mess around [CDATA and in my code i simply use:

    /*<![CDATA[*/ ...my code in here.. /*]]>*/

    I could technically patch this plugin for this lazy plugin author to include that fix but for me i just have no use for it.

  6. Kimberly
    Posted 3 years ago #

    So just a clarification:

    CDATA works fine in wp-minify. In fact it seems to not touch it when looking at my page source. But i am guessing it is the extra fluff you have around it that is confusing wp-minify. So i recommend you keep CDATA in but just clean it up to have the standard /* */ like my last comment shows.

    That should solve your problem. My webpage has CDATA and works flawlessly in IE 6,7,8, and 9 with wp-minify's minimize for JS,CSS, and HTML enabled.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Minify
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.