Support » Plugin: Shareaholic | share buttons, related posts, social analytics & more » Only Loads JS where code is required

  • Resolved MCM

    (@nathmie)


    I noticed that jquery.shareaholic-publishers-sb.min.js code is loaded on my home page which is a landing page and does not display the share buttons.

    Would it not be possible to ONLY load the script on pages that require it to improvement performance.

    Nice work on the CDN updates. Thanks

    http://wordpress.org/extend/plugins/sexybookmarks/

Viewing 1 replies (of 1 total)
  • Plugin Author Shareaholic

    (@shareaholic)

    Hi @nathmie

    Thanks for using Shareaholic!

    I think that’s an awesome idea! We will look into this.

    One thing to note – the JS will get cached as soon as it is loaded once. So it should not effect load time much, if at all. Also, the CDN is speedy so even the first load should now be speedy.

    If you have any other questions or suggestions, just let me know and I’ll be happy to help. And have a fantastic day!

    [ Signature moderated. ]

Viewing 1 replies (of 1 total)
  • The topic ‘Only Loads JS where code is required’ is closed to new replies.