Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is data retrieved over SSL cached by the client browser?

Tags:

caching

ssl

I know that data retrieved over SSL (https) is encrypted over the wire, but once it arrives at the browser, is it stored in the client's browser cache? If so, is it stored encrypted or in plain text?

This probably depends on the browser, so perhaps different browsers do different things? Modern browsers better behaved than outdated ones?

like image 912
Marcus Avatar asked Mar 01 '23 11:03

Marcus


1 Answers

You can use the standard Cache-Control HTTP header to control the client's behaviour. It is possible to disable caching, e.g. Cache-Control: no-cache.

As far as I know, most desktop browsers store the cache unencrypted.

like image 197
KovBal Avatar answered Mar 05 '23 18:03

KovBal