WordPress.org

Ready to get started?Download WordPress

Forums

Add Link to Facebook
[resolved] Blog slowing down because of Add Link to Facebook (3 posts)

  1. dikkevandale
    Member
    Posted 2 years ago #

    I really like your plugin, but my blog was starting to slow down, so I decided to optimize it a little bit by starting to turn on define('SAVEQUERIES', true); and add print_r($wpdb->queries); in my footer. This lets me check all queries done to the database while loading my blog.

    The first time I checked
    404 queries in 5.390 seconds.
    And a lot of them where on the options table at xxxxxx_transient_timeout_al2fb_cache_xxxxxxxxx.

    So I turned off your plugin and checked a second time
    159 queries in 1.490 seconds.

    So I think that's a serious difference.
    I hope you can fix this :)

    http://wordpress.org/extend/plugins/add-link-to-facebook/

  2. muratje
    Member
    Posted 1 year ago #

    My queries on the frontpage went from 108 to 332 :O

    That is bad...

  3. Marcel Bokhorst
    Member
    Plugin Author

    Posted 1 year ago #

    Without the transient cache (read here) your website would be much slower, because the same information had to be retrieved over and over again from Facebook.

    If your website gets much slower by using the database, you should move to a better hosting provider.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic