Java Scripts & Stylesheets

This topic contains 10 replies, has 3 voices, and was last updated by  Naveen Giri 3 years ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #500287

    Amy Fox
    Expired Member
    Post count: 419

    Is it possible to have pages load only what they need?

    Geodirectory loads on every page even if it’s not used, it’s slowing my page speed down.

    I’ve had a look at plugins like asset cleanup but not sure how they would affect my website as I’m not sure what is actually used.

    My website on google page speed scores about 39 which is bad and the main thing it’s telling me to do is sort out java script and stylesheets.

    I use a cache and autoptomize, they helped allot as my score was terrible before but now the major improvements I can make is java.

    Thanks.

    #500297

    Amy Fox
    Expired Member
    Post count: 419

    Not sure if your aware either but autoptimize conflicts with ninja forms and stops them working.

    Do you have a code to exclude them?

    Thanks.

    #500302

    Kor
    Moderator
    Post count: 16516

    Hi Amy,

    Thanks for your post. Kindly refer to the recommended settings here https://wpgeodirectory.com/docs/autoptimize-settings/ and see if it helps.

    #500313

    Amy Fox
    Expired Member
    Post count: 419

    Hi Kor,

    Thanks for the reply, those were the settings I used. Sadly it stops ninja forms from loading.

    Thanks.

    #500316

    Kor
    Moderator
    Post count: 16516

    Hi Amy Fox,

    Thanks for your reply. Please share your Website WP admin access here in private reply and I’ll forward this to a developer.

    Thanks!

    #500321

    Amy Fox
    Expired Member
    Post count: 419
    This reply has been marked as private.
    #500374

    Naveen Giri
    Moderator
    Post count: 1559

    Hi @afox,

    it seems like few plugins are not upto date. the issue seems coming from elementor plugin js.

    please update those plugins, clear cache, clear auto optimise cache and check.
    Let us know how it goes.

    for organising plugins use on specific pages.
    you can try https://wordpress.org/plugins/plugin-organizer/ plugin.

    #500454

    Amy Fox
    Expired Member
    Post count: 419

    Hi Naveen thanks for the reply.

    Updated the plugins and tried again.

    No change, not sure what the issue is.

    Thanks.

    #500546

    Naveen Giri
    Moderator
    Post count: 1559

    Hi Amy,

    The issue is fixed. please check.

    It was not related to ninja forms. the issue cause by mu plugin and Autooptimise conflict.

    Added patch on your site.

    Thanks for using Geodirectory.

    #500569

    Amy Fox
    Expired Member
    Post count: 419

    Thanks Naveen works perfectly.

    Now I can work on my page speed as I appear to have lots of scripts and styles loading when not needed on all my pages.

    Thanks again.

    #500583

    Naveen Giri
    Moderator
    Post count: 1559

    awesome, for speed improvement usually assets related issues handle by cache plugins. you can give a try to https://wordpress.org/plugins/plugin-organizer/ plugin or can take developers help for it.

    Thanks closing the ticket here.

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

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket