• Resolved Julien G.

    (@julien-g)


    Hi,
    I don’t understand why, since few days, the comment/tag at the end of my source code pages “Optimized by W3 Total Cache …” has disappeared !

    I tried to activate the debug mode, and again, no html comment appear at the end of the source code of my pages. Is the plug-in really working actually ? How can I know ?

    Thanks for your help, (and sorry for my english, I’m french :S)

    Julien

    • This topic was modified 7 years, 6 months ago by Julien G..

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @julien-g,

    Have you recently installed any other caching plugin or any other plugin for that matter? There could be some conflict between W3 Total Cache and those plugins so try to disable one by one (depends on how many you have) and see if the issue persists.

    Also if you are using CloudFlare and have the option enabled to minify in there, comments and such will be removed too.
    And then debug won’t work because you get a CloudFlare cached version of the page.

    Thread Starter Julien G.

    (@julien-g)

    Hi Marko,

    no, I haven’t installed other cache plugin or any other plug-in… I’ve only made a big update of my theme “Publisher”, which contain his own cache/minify system. It could be this ?

    No, i’m not using Cloudflare.

    Julien

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello,
    Try to disable it and see if the issue persists.

    Thread Starter Julien G.

    (@julien-g)

    I tried, no effect, the issue persists.

    Thread Starter Julien G.

    (@julien-g)

    Hi Marko !

    I finally found the cause of the problem.

    I disabled all my plug-ins but the problem persisted.

    But, by changing the W3TC minification settings, the tag “Optimized by W3TC” has reappeared at the bottom of source code pages ! Debug mode is also working now.

    In fact, if I check the box “HTML Minification Parameter” in HTML / XTML section, the tag immediately disappears in source code of pages.

    ( capture here: http://real-france.fr/wp-content/uploads/2018/12/caps-1.jpg )

    I do not quite understand why, but I unchecked it.

    Do you know why that’s doing this ?

    Bests,

    Julien

    • This reply was modified 7 years, 6 months ago by Julien G..
    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello,

    The comments not showing indicates that minify has a problem. you should enable debugging as there should be something indication a problem there, or if there is no debugging file in the cache directory, an error in the PHP logs should help us find out what causes this problem.
    So enabling the HTML minify settings: should not cause this issue. That is not a normal behavior.
    Big update of your theme “Publisher”, which contain it’s own cache/minify system is the probable cause of the conflict.

    Thread Starter Julien G.

    (@julien-g)

    The debug mode on minify tell me this :

    !–
    Performance optimized by W3 Total Cache. Learn more: https://www.w3-edge.com/products/

    Page Caching using disk: enhanced (User is logged in)
    Mibnifié utilisant disk

    Minify debug info:
    Theme: 5a340
    Template: page

    Served from: real-france.fr @ 2018-12-03 15:03:04 by W3 Total Cache
    –>

    Any indication with this ?

    (I’ve only activated “minify CSS (combinate only)”, because has I said before, the tag “Performance optimized by..” or debug report are not displayed with “HTML minify” activated.)

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello,
    I was referring to debug.log.

    You need to add

    define( 'WP_DEBUG', true );
    define( 'WP_DEBUG_LOG', true );
    define( 'WP_DEBUG_DISPLAY', false );

    to your wp-config.php and look fo debug log in wp-content/debug.log or just look for the debug.log if you already have enabled the above.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    No activity in this topic for over a week.
    Marking topic as resolved.

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

The topic ‘Tag “Optimized by W3TC…” has disappeared in source code’ is closed to new replies.