1

I'm building an asp.net web app with lots of ajax. How much of a performance cost is there in running the entire app in https? What about caching? Are scripts and css cached when served over https? If they're initially served from http, are they available in the https pages?

Thanks

frenchie
  • 51,731
  • 109
  • 304
  • 510

1 Answers1

3

"In my experience, servers that are heavy on dynamic content tend to be impacted less by HTTPS because the time spent encrypting (SSL-overhead) is insignificant compared to content generation time."

"Making lots of short requests over HTTPS will be quite a bit slower than HTTP, but if you transfer a lot of data in a single request, the difference will be insignificant."

So there should be no major performance hit to your server, but the request times will be longer as you need to handshake every request. BUT you should read for more information: HTTP vs HTTPS performance

Community
  • 1
  • 1
Colum
  • 3,844
  • 1
  • 22
  • 26
  • 1
    The question is specifically about _ajax_ sites, where the weight of the content is distributed over many small requests. This might impact the "insignificant" part. – Paul-Jan Feb 05 '11 at 15:11