LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   speed up https (apache) site (https://www.linuxquestions.org/questions/linux-server-73/speed-up-https-apache-site-808431/)

peridot121 05-17-2010 04:50 PM

speed up https (apache) site
 
Hi all,

Can anyone point me in the right direction? I have a very slow https site. I know https is supposed to be slower. Is there any way I can speed this up? Can I enable any sort of caching with https pages?

Thanks!

kbp 05-17-2010 07:38 PM

Depends on your budget.. you could buy an SSL accelerator card or appliance.

cheers

peridot121 05-18-2010 03:35 PM

If necessary, I may have to do that, but I'd prefer to look for inexpensive solutions first if there are any. Any other suggestions?

Thanks!

ricstirato 05-18-2010 04:51 PM

Before buying any hardware you should identify the bottleneck. Currently we have no information that https causes the performance problem.

So please check CPU, disk I/O, memory usage, network usage first. Which is near the limit? How much Swap is in use?
Also: do the pages you deliver via https have a significantly better (measured, not felt) performance when delivered via http?

BTW: what exactly do you mean when you write "very slow"? Are you talking about seconds? 10s of seconds? minutes?

As for caching: you can't cache the encrypted pages, since they are encrypted using a session key, which means the encrypted version of any page differs from client to client and from session to session.
You can cache unencrypted pages when they are generated dynamically (by CMS, web application, ...), but in this case you would have to rely on the caching mechanisms of the underlying application. Also in this case your performance problem would persist when using http (which is why I asked that above).


All times are GMT -5. The time now is 04:02 PM.