• Resolved Ramanan

    (@superpoincare)


    There are special comments which aren’t removed by this plugin, even if I choose preserved comment removed.

    An example is WordPress adding the comment: “This file is auto-generated”

    Is there any way to remove them?

    Using the manual option.

    • This topic was modified 4 years ago by Ramanan.
Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @superpoincare

    Thank you for your inquiry and I am happy to assist you with this.
    I’ve tried to replicate this but failed to do so.
    Can you please share the screenshot or the URL so we can check this?
    YOu stated that you are using manual Minify. Are you using Minify or Combine the only option?
    Thanks!

    Thread Starter Ramanan

    (@superpoincare)

    Yeah: https://www.concertedaction.com/

    Also using Minify option, not “combine only”.

    It seems fine otherwise, I think it’s not a bug really but I am asking if via some filter I can make it single-line?

    • This reply was modified 4 years ago by Ramanan.
    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @superpoincare

    thank you for the info.
    Let me check this and I’ll get back to you.
    Thanks!

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @superpoincare

    Thank you for your patience.
    Can you please make sure minify.js.strip.comments is true (check master.php) and try switching minify engines as some are preserving /*! (comments)
    Thanks!

    Thread Starter Ramanan

    (@superpoincare)

    Yeah minify.js.strip.comments is true in the file master.php

    I can’t use some of the other options than default as it gives a Java error. But Closure which works doesn’t either remove.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @superpoincare

    Thank you for the information.
    We are working on improving minify and as you can see in our Github repository there are tickets we are working on.
    We’ll make sure to check this as well.
    Thanks!

    Thread Starter Ramanan

    (@superpoincare)

    Thanks.

    I have raised a Github issue here: https://github.com/W3EDGE/w3-total-cache/issues/291

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Modify minify file contents?’ is closed to new replies.