Defer parsing of JavaScript (PageSpeed)

Home Forums WordPress Theme Grafon – Construction Building Renovate WordPress Theme Defer parsing of JavaScript (PageSpeed)

This topic contains 7 replies, has 2 voices, and was last updated by  metanoya 4 months, 4 weeks ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #22367

    metanoya
    Participant

    Support Expired

    Hello, please help to solve the problem. See the attached image.

    Attachments:
    You must be logged in to view attached files.
    #22405

    Alma Viki
    Participant

    Unknow

    Hi metanoya,

    Don’t worry about that, we are on updating theme, this issues is temporary. We will improve it by each version.

    Thanks for your sympathy.

    #22413

    metanoya
    Participant

    Support Expired

    Thanks for the answer.
    Can you tell me when to wait for an update, at least an approximate time frame?

    #22465

    Alma Viki
    Participant

    Unknow

    Ok,
    We have other solution for you:
    function defer_parsing_of_js ( $url ) {
    if ( FALSE === strpos( $url, ‘.js’ ) ) return $url;
    if ( strpos( $url, ‘jquery.js’ ) ) return $url;
    return “$url’ defer “;
    }
    add_filter( ‘clean_url’, ‘defer_parsing_of_js’, 11, 1 );

    add this Code to function.php of your Child theme, Remember to use Child theme to custom anything.

    Or you can follow this guide: https://www.hostinger.com/tutorials/wordpress/how-to-defer-parsing-of-javascript-in-wordpress

    We will have new version in the next week.

    Thank you

    #22560

    metanoya
    Participant

    Support Expired

    Unfortunately, not one of the methods did not give satisfactory results.
    Either there are no changes, or the site does not work correctly.

    #22595

    Alma Viki
    Participant

    Unknow

    Hi,
    I have tested your site on Google Page Speed:
    https://developers.google.com/speed/pagespeed/insights/?hl=vi&url=http%3A%2F%2Fxn--80abdon5c.xn--p1ai%2F&tab=desktop

    The result is really good, which tool you are using for checking?

    Thank you

    #22611

    metanoya
    Participant

    Support Expired
    #22614

    metanoya
    Participant

    Support Expired

    Correction is the same site, but only another template and maker. The previous template had to be thrown out !!!
    I hoped that at least your other template would work fine … but again problems

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

You must be logged in to reply to this topic.

Hello! CityBook version 1.2.7 was released. Bulk Import Add-On, OpenStreetMapView Details
+