Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a site with a live scoring page that updates via ajax while games are going on. It was working fine when the site was running on http.

We installed an ssl an its either self signed or misconfigured, but now the live scoring page ajax requests are running super slow and freezing users screens.

I actually had to switch my curl requests on my crons to curl -k after the ssl was installed so I'm wondering if the ssl itself could be causing the ajax requests to run sooo slow. I realize https is slower than http but should it really be this noticeable?

share|improve this question
3  
No, but it'll probably prevent them entirely on some browsers due to security settings. –  ceejayoz Feb 12 '13 at 15:43
add comment

1 Answer 1

up vote 4 down vote accepted

A self-signed certificate won't be any slower than a certificate signed by a trusted CA (it may even be faster depending on the length of the trust chain and whether OCSP is in use). If you haven't tested with a properly signed certificate then it's probably just HTTPS vs HTTP.

Check the CPU usage on your server, and whether the browsers are maintaining persistent connections.

share|improve this answer
    
+1. If you move all ajax to SSL that may simply kill the server. SSL is not exactly zero overhead. Depending how cheap you are hardware wise and the reserves you had - ouch. –  TomTom Feb 12 '13 at 17:57
    
ya, its looking like its just the https vs http. I just optimized a bunch of https requests into one and things are running a great deal smoother. –  Rooster Feb 12 '13 at 17:59
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.