WebPagetest Forums
ssl (https) compression - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: Web Performance (/forumdisplay.php?fid=3)
+--- Forum: Optimization Discussions (/forumdisplay.php?fid=5)
+--- Thread: ssl (https) compression (/showthread.php?tid=855)



ssl (https) compression - trx - 06-21-2011 05:20 AM

Hello all,
Is https compression possible? If yes, is it recommended?

Regards,
TRX


RE: ssl (https) compression - pmeenan - 06-21-2011 05:24 AM

Yes, gzip compression applies to https just like it does over http (WebPagetest just doesn't have visibility into it because of how IE works).


RE: ssl (https) compression - trx - 06-21-2011 05:26 AM

So what's the easiest way to determine if a static file is compressed over SSL?

Regards,
TRX


RE: ssl (https) compression - pmeenan - 06-22-2011 11:52 PM

If it's a javascript or css file then just use IE's developer tools and check the headers (sorry, I don't have a hosted solution right now).


RE: ssl (https) compression - trx - 07-06-2011 07:06 AM

Thanks.

So when you say look at the headers for https statc files (js, css, etc.) requests, you mean look for "Content-Encoding: gzip"?

Just want to make sure I understand.

Regards,
TRX


RE: ssl (https) compression - pmeenan - 07-07-2011 03:37 AM

Yep (in the response headers).


RE: ssl (https) compression - trx - 07-21-2011 09:21 AM

Thanks! I see it in the headers in FF. It must of been IE that was confusing me.

Regards,
TRX
One other thing, compression is usually called http compression, does it compress first over http then get's decrypted for ssl? or does it decrypt the data first and then compresses the file/data?