I have faced a small problem regarding using Http or Https in a web application.I refereed to many queries on stack overflow on similar topics but they did not answer my question adequately so I decided to to post this questions.
Question I am currently working on a java based web application that uses J Boss applications server.Front end is composed of mainly Struts, JavaScript and JQuery. We are currently evaluating a user suggestion to enable HTTPS in the login page and then continue rest of the user session in HTTP.
Furthermore While the user session is in http some reports need to be displayed in HTTPS as well.That means user session will toggle between Http and HTTPS.
Sometime a ago site like Hotmail had this feature but have moved away to offer pure HTTPS on grounds of improved security.
While preserving the user session is it possible (and feasible) to use both HTTPS and Http as an when required only.Would this implementation have improved performance over pure HTTPS implementation? If so are there any standard operations that may be followed to achieve this end ?
According to the general perception HTTPS tends to slow down web application performance.But there is a increasing number of sites that use full HTTPS too. for example Google , GMail.
Hypothetically Would attempting to implement this web application purely in HTTPS have obvious performance issues compared to a pure Http based site ?Are there any methods to improve performance in pure HTTPS sites ?
Resources
HTTP vs. HTTPS: What's the Difference?
Will web browsers cache content over https
What is the best and current way to move to HTTPS on a large website?
Transport Layer Security (TLS)
Tomcat session management - url rewrite and switching from http to https
google translate not showing up when https is used in url
Tomcat, keep session when moving from HTTPS to HTTP - Resource mentioned by Pelit Mamani
Is SPDY any different than http multiplexing over keep alive connections