• Resolved ucsendre

    (@ucsendre)


    Dear Raul,

    Please let me know why huge blocks of comments remain in the minified and combined version of css files.
    I found this huge (1130 charcters) block of copyright+license comment block in the minified css code (please see linked image).
    https://imgur.com/7OGVuYM
    There are 20 other comment sections in the same file, lucily those are shorter, but all together those blocks are taking up kilobytes of useless information.
    Could these comments be removed from css files?

    Thank you!

    Best regards,
    Endre

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Raul P.

    (@alignak)

    Because /*! something */ are “important” comments, as defined by the author of those files and should not be removed (could be copyright or something else needed).

    The PHP Minify library doesn’t remove those comments and that’s what FVM uses.
    https://github.com/matthiasmullie/minify/pull/255

    Thread Starter ucsendre

    (@ucsendre)

    Thank you for the prompt response.

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

The topic ‘css comments after minification’ is closed to new replies.