WordPress.org

Ready to get started?Download WordPress

Forums

WordPress HTTPS (SSL)
Over 100 extra queries on each pageload ? (4 posts)

  1. bigneno
    Member
    Posted 1 year ago #

    Hi,
    If you add get_num_queries() to your footer.php you'll see that after enabling this plugin you get about 100 extra mysql queries on each pageload.

    My frontpage (http): 37 queries in 0,276 seconds
    With this plugin enabled (http): 130 queries in 0,498 seconds.

    Please fix this bug

    http://wordpress.org/extend/plugins/wordpress-https/

  2. Mvied
    Member
    Plugin Author

    Posted 1 year ago #

    It's not a bug. I will consider creating a "Lite" version.

  3. bigneno
    Member
    Posted 1 year ago #

    Your plugin is great, very easy to use, but this "feature" really overloads the server.
    There must be a way to cache or optimize or join the queries or at least stop them on non-ssl pages. Maybe saving some data in arrays in one transient can help.
    Please, try to do something with it if you can, thank you.

  4. Mvied
    Member
    Plugin Author

    Posted 1 year ago #

    The issue is the plugin is querying URL's to see if the URL's map to pages. Each check is query. The more URL's on your pages, the more queries there are. I am looking for ways to cache results or something, but it's not an easy problem to solve.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags