News for hackers. Stuff that matters.
Re:Living with HTTPS by timr on Thursday July 19, 2012 @06:07PM (#4268317)
Honest question, for those who have done it: what are the downsides of allowing your whole site to be accessed via SSL?

Obviously, you need to be a bit more diligent about making asset urls protocol-relative (which can be a PITA across a large, dynamically generated site), but are there any other gotchas? Server load? Reduced cache-ability?

Re:Living with HTTPS by pornel on Friday July 20, 2012 @06:19AM (#4270149)
You can have good cacheability—you just need to send explicit Cache-Control headers (which is a good idea anyway).

If you don't do SSL properly (e.g. non-SSL-terminating load-balancer can break SSL session resuming by forwarding requests to different servers which don't share tickets) then you'll have lower front-end performance.

webpagetest.org nicely shows connections including time spent on SSL negotiation, so you can use it to check your SSL overhead.

Re:Living with HTTPS by otterley on Friday July 20, 2012 @12:05PM (#4271391)
In my case, I work for a SaaS provider that performs virtual hosting using customer-provided SSL certificates (myservice.customer.com). This puts us in the unenviable position of having to maintain thousands of IP address endpoints, one per customer, along with all the network-related complexity that goes along with it.

SNI would help a lot, but unfortunately it will never be a feature in the SSL client code in Windows XP (which MSIE uses) and so we're stuck with this for the foreseeable future.

Re:Living with HTTPS by emmelaich on Thursday July 19, 2012 @11:02PM (#4269172)
By protocol relative, are you referring to the // urls?

(http://paulirish.com/2010/the-protocol-relative-url/)

Because they wound't be so PITAish would they?

Re:Living with HTTPS by ceph_ on Thursday July 19, 2012 @08:25PM (#4268780)
Without the proper tuning https will be significantly slower than http.
Re:Living with HTTPS by Zirro on Thursday July 19, 2012 @08:30PM (#4268794)
Could you clarify what "proper tuning" entails?
Re:Living with HTTPS by ams6110 on Friday July 20, 2012 @01:41AM (#4269579)
SSL/TLS is not computationally expensive any more[1] but there are some things that can help/hurt discussed in the footnote.

[1] http://www.imperialviolet.org/2010/06/25/overclocking-ssl.ht...