Ready to get started?Download WordPress


ShareThis: Share Buttons and Social Analytics
google speedtest has problems with share-this (18 posts)

  1. Anointed
    Posted 1 year ago #

    When I turn off share-this, I actually end up with a 99/100 on my speed score. Turning on share-this drops me to 90.

    Here are the problems with share this via google:


    Leverage browser caching

    The following cacheable resources have a short freshness lifetime. Specify an expiration at least one week in the future for the following resources:
    http://s.sharethis.com/loader.js (expiration not specified)
    http://sd.sharethis.com/disc/css/serviceWidget-facebook-style3.css (expiration not specified)
    http://sd.sharethis.com/disc/images/facebook_share_sprite_style3.png (expiration not specified)
    http://sd.sharethis.com/disc/js/serviceWidget.js (expiration not specified)
    http://connect.facebook.net/en_US/all.js (18 minutes)
    http://platform.twitter.com/anywhere.js?id=XpCaHUxBsj5IwxhHwtDY1w&ver=2.5 (30 minutes)
    https://apis.google.com/js/plusone.js (30 minutes)
    http://www.google-analytics.com/ga.js (12 hours)


    Serve resources from a consistent URL

    The following resources have identical contents, but are served from different URLs. Serve these resources from a consistent URL to save 1 request(s) and 25.2KiB.


    Specify a cache validator

    The following resources are missing a cache validator. Resources that do not specify a cache validator cannot be refreshed efficiently. Specify a Last-Modified or ETag header to enable cache validation for the following resources:

    Is there anything I can do, short of removing the plugin to fix these problems?

    Are the authors even aware of these problems prior to this report, if so, are there docs I can follow to fix the code?



  2. sharethissupport
    Posted 1 year ago #

    It's a known issue. We may modify sharethis code as per the Google page speed rules in future but, it's not planned for an immediate release .
    You can improve the speed to some extent though by modifying the sharethis code as explained here:

    Sorry for the inconvenience .
    [ sharethissupport, all of your posts are being held in moderation and will need to be approved before users can see them. Please follow the rules and refrain using signatures in your reply posts. ]

  3. Anointed
    Posted 1 year ago #

    If it's a known problem, why are you not fixing it?

    Also isn't there a better way of adding that code to the head of a wordpress site than simply pasting it into the header from the link you gave?

  4. sharethissupport
    Posted 1 year ago #

    You must have installed the sharethis plugin on your blog.
    You can edit the sharethis script tags from here:
    Browse to: http://YOUR WORDPRESS BLOG/wp-admin/options-general.php?page=sharethis.php

    Modify the existing code(as explained here:http://support.sharethis.com/customer/portal/articles/475091-widget-load)
    from the section: [+] Click to modify other widget options.

    [ sharethissupport, all of your posts are being held in moderation and will need to be approved before users can see them. Please follow the rules and refrain using signatures in your reply posts. ]

  5. Anointed
    Posted 1 year ago #


    Now if we could just fix all the speed issues....

    Read a lot about it today, it's not that hard a fix and I'm sure your users will appreciate it as they will all get a slight bump in speed for google ratings. Right now your actually slowing all million sites down from their full potential.

  6. sharethissupport
    Posted 1 year ago #

    Hello Sir,
    First of all we apologize for the negative experience you have had with our product.
    Yes, we will look into it and will try to improve the speed.
    [ sharethissupport, all of your posts are being held in moderation and will need to be approved before users can see them. Please follow the rules and refrain using signatures in your reply posts. ]

  7. RobReg
    Posted 1 year ago #


    Has this been dealt with yet do you know? I'm seeing the same warnings as medium priority in my page site speed and I really want to optimize it. I will look at the details provided here if there isn't a fix yet.


  8. Anointed
    Posted 1 year ago #

    No this has not been dealt with. Sharethis is still one of the worst plugins available when it comes to google speed tests. Considering that the plugin itself is a great concept, it is to bad that it is so poorly coded. Of course they will point to millions of 'happy' users, but I'd point to 'millions' of ignorant users who don't know any better. (of course there are those that understand the problems but just deal with it in order to keep the functionality)

  9. redaktionbp
    Posted 1 year ago #


    It's not only bad performance in Google speed test.
    I tested in pingdom.com and in for others...

    The reply from the share this support is 6(!!!) month old. Really don't understand, why a known problem can't be fixed during 6 month...

    I really like (!!!) this sharing tool, but being so slow is very poor.

    BR, Petra

  10. RobReg
    Posted 1 year ago #


    It is a little disappointing because I think this plugin is really great. Clean, simple and pretty professional looking. Pity about the performance factors.

    I added the bit of code they said to add above in the options for the plugin from the options page and it seemed to help in my performance tests.

    Would be great if this was sorted in an update though.

  11. Anointed
    Posted 1 year ago #

    Unfortunately I believe it is pretty obvious that they really could care less about the performance issues. I gave up on them and I bet you would come back to this same thread next year, and if they aren't out of business, they will still have the same problem. Any REAL developers would see a problem like this and would have fixed it long ago.

  12. redaktionbp
    Posted 1 year ago #

    Hi Rob,

    there're several links offered above. Which one did you use?

    In the options of "modify other widget options" I have this code:
    <script charset="utf-8" type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script><script type="text/javascript">stLight.options({publisher:"wp.59ae799f-ac5d-4ad4-b2df-5e469ceb3464"});</script>

    Is this really the right place, because I'm not using a ShareThis widget.
    Sorry, I'm not a programming expert....

    Bye, Petra

  13. RobReg
    Posted 1 year ago #

    Hi Petra,

    The way I did it was to go to Setting -> ShareThis from the control panel in your WordPress dashboard. Scroll down the page to where it says "Click to modify other widget options". Then add the following to it:

    <script type="text/javascript">var __st_loadLate=true;</script>

    I added that in between some of the other <script> tags.

    How have you put the code in to your site? I have added it manually to mine, in the single.php file so I could put it exactly where I wanted it.

    Hope that helps,

  14. redaktionbp
    Posted 1 year ago #

    Hi Rob,

    thanks a lot for your efforts!!

    So finally in my "Click to modify other widget options" it looks like this:

    <script charset="utf-8" type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script><script type="text/javascript">stLight.options({publisher:"wp.59ae799f-ac5d-4ad4-b2df-5e469ceb3464"});</script>

    <script type="text/javascript">var __st_loadLate=true;</script>

    Is that correct like this?? I ask, because you wrote "I added that in between some of the other <script> tags."
    Unfortunately loading time is not changing. But perhaps I entered it wrong???

    By the way, I test it here:

    For the other code "charset..." it must have been there automatically. As I don't know coding, it's very probably that I did NOT put it by myself.
    Do you know what this code is doing??? Is it good or shall I bettr remove it?


  15. RobReg
    Posted 1 year ago #

    Hi, looks correct to me. I made sure that it was inline with the rest of the script tags. You could just add that charset in too but I don't think it will make much different. I could be wrong, no harm in trying it.

    I would look at the Google page insights tool and see what the critical path is and what suggestions it comes up with. Maybe that will help you with some suggestions on how to improve performance.


  16. redaktionbp
    Posted 1 year ago #

    Hi Rob,

    yes, it is faster. But because I changed the plugin.

    Reason: I was really disappointed that for that major problem of lost "likes" and other problems with sharing no feedback arrived.

    No reply since days - many people report similar problems...


  17. sharethissupport
    Posted 11 months ago #

    Hello Petra,

    We have already replied on other posts regarding the issue and it is fixed now.

    Please feel free to contact us, if you have any queries.

    The ShareThis Support Team,

  18. Chukwudi Emmanuel Udegbunam
    Posted 7 months ago #

    Thanks for the solution. Worked for me too

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic