• Any tips on javascript that still works hen moved to the footer? I have not found any yet…nor any pages on the net with such a list….

Viewing 6 replies - 1 through 6 (of 6 total)
  • Your choice of words is really bizarre. JavaScript is a programming language. You want to “move” a programming language? I suppose you want to move some JavaScript code, but what does “list of JavaScript” mean? Finally, how is this related to W3 Total Cache?

    I suppose he wants to know which common used java scripts can be moved to the footer without breaking functionality, e.g. google analytics, etc

    Thread Starter ddeconin

    (@ddeconin)

    Indeed, in the w3tc minify settings you can choose if a .js (Javascript) is embed in <head> (bl,nbl), embed after <body> (bl, nbl) and embed before </body> (bl, nbl).
    I was googling for pages that had a list of possible settings for various plugins, but didn’t find any.
    I guess having a list in this forum would avoid a lot of trial and error.

    dealing with this right now…

    I keep getting: “Unfortunately an error occurred while creating the minify cache. Please check your settings to ensure your site is working as intended.

    Thanks for using W3 Total Cache.”

    The error came about after adding two wp-includes js embed in <head> blocking

    /wp-includes/js/l10n.js?ver=20101110
    /wp-includes/js/jquery/jquery.js?ver=1.6.1

    any advice on wp-includes js files?

    ddeconin: That is combine settings. You tell the plugin if it should minify combine scripts that are located in those places.

    @savvyharry, you can ignore that error it’s a bug that creates false positives. wp-includes can normally be minified, but that depends on the other scripts in your page. As for the general question about best practices, loading files asynchronously or at the bottom of the page is *generally* best. But that’s a very rough guideline.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: W3 Total Cache] list of javascript that can be moved to footer?’ is closed to new replies.