WordPress.org

Ready to get started?Download WordPress

Forums

W3 Total Cache
JS Minify Settings (8 posts)

  1. VenturaVan
    Member
    Posted 12 months ago #

    What do the following JS Minify settings mean and is there a document or article explaining the Embed Type?

    Before Head
    After Body
    Before Body

    non-blocking using JS
    non-blocking using "async"
    non-blocking using "defer"
    non-blocking using "extsrc"
    Non-blocking using "asyncsrc"

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

  2. manuelkuhs
    Member
    Posted 11 months ago #

    I'd be interested in the answer to this also!

  3. esmi
    Forum Moderator
    Posted 11 months ago #

    As per the Forum Welcome, please post your own topic.
    http://wordpress.org/support/plugin/w3-total-cache

  4. almooj-craig
    Member
    Posted 11 months ago #

    I am using 0.9.3 and all of the options you list are not available. What version are you using?

    I don't get any options about where to place the JS on the page, it only displays before </head> and the other options are JS, async and defer.

    Generally when I load JS files it usually works best if you use the non-blocking JS method. That way the page can continue to load and onload and oncomplete work correctly for JS that's embedded on the page.

    Craig

  5. VenturaVan
    Member
    Posted 11 months ago #

    Esmi. isn't this my own topic? What are you saying?

  6. esmi
    Forum Moderator
    Posted 11 months ago #

    My comment was meant for those who are trying to hijack your topic. :-)

  7. bobk88
    Member
    Posted 10 months ago #

    @almooj-craig: These options appear when you change from auto to manual in

    General Settings -> Minify -> Minify Mode

    @VenturaVan: Some general info about blocking vs non-blocking scripts is here.

    That article didn't provide enough info for me to resolve minification issues, or fully explain all those settings, but it's a start.

  8. almooj-craig
    Member
    Posted 10 months ago #

    Bobk88,
    Thanks for the explanation. I have always just used the auto mode, so I didn't spot those other options.

    I should also mention that when you use the non-blocking JS method that you might need to rewrite some of the other plugins js because the jquery will get loaded after any js that's in the page.

    Craig

Reply

You must log in to post.

About this Plugin

About this Topic