WordPress.org

Ready to get started?Download WordPress

Forums

Shareaholic | share buttons & related posts
[resolved] Only Loads JS where code is required (2 posts)

  1. MCM
    Member
    Posted 1 year ago #

    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/

  2. Shareaholic
    Member
    Plugin Author

    Posted 1 year ago #

    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. ]

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic