WordPress.org

Support

Support » Plugins and Hacks » bodi0`s Easy cache » [Resolved] Minify Expectations

[Resolved] Minify Expectations

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Budiony Damyanov

    @budiony

    Not all blank lines and extra spaces are minified and this is on purpose.

    In fact, there could be more compression applied to the HTML source, but this breaks the inline *JavaScript* code and *CSS*.

    Put in short – the plugin replace the following combinations
    "\t","\r","\t\r","\r\t" from the white-space range.

    Plugin Author Budiony Damyanov

    @budiony

    …and it replaces with regular expressions the more that one space with one only (this is the regex pattern preg_replace('~(\s)\1+~', '$1', $buffer);).

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Minify Expectations’ is closed to new replies.
Skip to toolbar