WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: W3 Total Cache] javascript ordering in footer problem (3 posts)

  1. efikim
    Member
    Posted 4 years ago #

    I'm trying W3 total cache out on http://words.mikefinley.co.uk and am trying to remove as many js files as possible from the pages. When I put the WordPress statistics javascript file into the footer blocking set it is then below the st_go call, so presumably statistics will no longer be collected.
    I've currently placed the file into the header blocking set to get round this.
    (I'd been simply putting all files in the header into header blocking, and files in the footer into footer blocking, assuming this would be safe.)

    http://wordpress.org/extend/plugins/w3-total-cache/

  2. efikim
    Member
    Posted 4 years ago #

    however, even after moving the js file into the header section statistics are still not updated, so i've had to move it out of the cache altogether, and now it works again.

  3. Frederick Townes
    Member
    Posted 4 years ago #

    You cannot minify statistics, ads etc JS files.

    Code quality also varies for the plugins/theme files that remain. You need to test the various options one-by-one sometimes to find out which ones cannot be optimized. Sometimes the combine only option is your last resort.

Topic Closed

This topic has been closed to new replies.

About this Topic