The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

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

  1. efikim
    Posted 6 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.)


  2. efikim
    Posted 6 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
    Posted 6 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