This topic has 3 replies, 2 voices, and was last updated 10 years by Abe.

  • Author
  • #35310
     Splendor
    Participant

    Hi,

    I still experimenting with Wt3c, and I’m testing with non-blocking async in the minify settings. There you can choose between what should be loaded in the head, before body and after body.

    So I would like to now, which off the js from theme that should run first, secondly and last. This is for speeding up the site. For better user experience.

    Any thoughts on this?

    #35855
     Abe
    Keymaster

    Hi @Splendor
    You should only include in the header this JS files:
    kleo-init -> assets/js/init.js
    modernizr -> assets/js/modernizr.custom.46504.js

    jquery.js – loaded by wordpress

    All others could be loaded in the footer

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

    #35881
     Splendor
    Participant

    Thanks, Yeah, I figured that out @Abe. But I found that if I don’t have the buddypress js before body, the buddypress part loads much slower.

    I’m currently testing a lot and finding very interesting results by combining the js by non-blocking js

    Next week I’ll start testing out the css part. It haven’t crashed yet, but I have one error. Recently an error occurred while creating the CSS / JS minify cache: JSMin: Unterminated String at byte 66879: "===a.STRING(4,5).toUpperCase()?r():!1):!1

    No idea what that means, checking error logs.

    #36363
     Abe
    Keymaster

    hm.. can’t really say about that error.
    Also please share any good customizations you find on the caching plugin.

    thanks

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

Viewing 4 posts - 1 through 4 (of 4 total)

The forum ‘KLEO’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?