Support » Plugin: W3 Total Cache » W3 Total Cache Source code still has all the original .js in it

  • madeglobal



    I upgraded to the latest version of w3 and now when I look at my source code for a page, I find that as well as the new include.js file created by the minify, all of the original .js files are still included.

    The single.include.xxxxxxxx.js file contains all of the javascript that i would expect. The problem is that it has not removed them from a little later in the html source code.

    Page is here:

    What am I doing wrong?

    Thanks for all help and advice!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Frederick Townes


    Are you using the latest plugin?



    Hi Frederick,

    Firstly, you are a star for replying – thank you!

    I am using Version which I believe is the latest version.

    I’m getting the feeling that it is the dependencies created by wp_register_script or wp_enqueue_script which might be bringing some of the minified javascript back in again.

    To explain my thinking … there are a few js files which cannot be minimised (because they are actually php files used to create javascript) but these are included as requiring jquery first.

    Now, jquery IS in the minified file (good!) but it gets included again.

    I’m feeling that this is because the wp_register_script no longer knows that the jquery has been included through your minimiser, and so it included it again. Is that possible??

    Thanks for all your help, and willing to try any tests you can suggest!

    Plugin Author Frederick Townes


    W3TC performs it’s operations on the output of WordPress, how your templates work isn’t really relevant. Can you submit a bug submission form from the support tab of the plugin?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘W3 Total Cache Source code still has all the original .js in it’ is closed to new replies.