• Resolved Monclee

    (@monclee)


    Hi im testing a site to improve speed, , after using query monitor. If i disable the plugin the site loads in 1.2 sec. If i enable the plugin it takes as long as 12 seconds.

    I detect a cURL problem, it fails sometimes, and sometimes it dont…. but i checked on the server, cURL is working fine, perfect actually.

    This appears like “API call http” :

    rsssl_admin->mixed_content_fixer_detected()

    cURL error 28: Operation timed out after 5077 milliseconds with 0 out of -1 bytes received

    Im thinking maybe ?Less time out? or maybe ?comment out this operation? this will speed the site, 5seconds of lag, its a lot. This is what is causing the slow on my site. but why cURL is working sometimes and sometimes not, and just in your operation, all other tests i do works fine for cURL. it is working , actually the error appears 50% of times, the other 50% i guess cURL works. (or made it in less than 5 secs as i said)

    Can i comment out this operation? what would be the consequences

    Also in addition in slow queries i can see:

    SELECT option_value
    FROM wp_options
    WHERE option_name = ‘_transient_timeout_rsssl_plusone_count’
    LIMIT 1

    • This topic was modified 3 years, 7 months ago by Monclee.
    • This topic was modified 3 years, 7 months ago by Monclee.
Viewing 1 replies (of 1 total)
  • Plugin Author Rogier Lankhorst

    (@rogierlankhorst)

    Hi @monclee,

    The “mixed content detected” test doesn’t run on the front-end, and is cached for 5 minutes after each request. The resulting notices list is cached on all pages except the settings page.

    If the curl fails, it is possible the server is blocking it. This request does not cause any issues on my test setup, or on any configuration I know of, which means it is something specific to your server/configuration.

    To prevent this from slowing down your site, you can set the transient (cache) with a very long expiration time:

    set_transient('rsssl_mixed_content_fixer_detected', 'found', YEAR_IN_SECONDS);

    You can add this line in your functions.php, then remove it afterwards.

    The “slow query” you mention is an option request with a default “get_transient()” function. If requesting a single option from the database with a wp core function is slow, there may be something off in your setup, as this is a very basic WordPress function.

    Hope this helps.

Viewing 1 replies (of 1 total)
  • The topic ‘Really Simple SSL slow down site a lot’ is closed to new replies.