• Resolved Texiwill

    (@texiwill)


    Hello,

    My I humbly suggest that either {blogurl}/wp-includes/jquery/jquery.js be automatically added to the Ignore List or added as an option to ignore. If it is not ignored AND proper ‘defer’ is used for JS, etc. such as using the Speed Booster Pack then it is automatically deferred and wordpress just breaks. When using minifiers, it is hard to tell other tools NOT to defer jquery.js as the name is masked out. If it is an option people can immediately solve their problems without fuss. Every site I create, I have to do this for all minify tools,

    Just a thought.

    Best regards,
    Edward

    https://www.ads-software.com/plugins/fast-velocity-minify/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Raul P.

    (@alignak)

    Hi,

    While I agree that is the case in many sites, the opposite is also true.
    For example, on my theme I have no problem merging jquery and even defering it.

    Defering however, comes disabled by default and there is a warning that it my not work. Is up to the developers to choose what to exclude, because if I am to exclude jquery from minification, the next day I will have similar support posts asking why is jquery not included in the minification process.

    What I can tell you is that jquery is already minified, so it’s used and merged “as it is” without any further minification from this plugin.

    If your theme relies on jquery to fire up events and stuff, then you have to exclude it… but if your theme only needs jquery in the end, then you can merge it and even defer it.

    Thread Starter Texiwill

    (@texiwill)

    Hello,

    Which is one reason an option to handle it appropriately would be great otherwise people will mistype the path, etc. It is the only javascript file that is core that needs this type of attention.

    I.e.:

    [ ] Do nothing to Jquery (Leave in place and untouched)

    Then it is up to others on how to handle deferment or not.

    Best regards,
    Edward L. Haletky

    Plugin Author Raul P.

    (@alignak)

    If your concern is about the path, that can be seen on the logs and then copied to the ignore field… however, it may be a good idea in a future version to show a list of enqueued files, with a checkbox to exclude from minification, instead of having the users type the url.

    I personally don’t see any problem with typing or copy paste, but I might consider this for a future version, if it’s not too troublesome to add.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Option to Automatically not Minify Jquery’ is closed to new replies.