Hi all,
I have installed roundcube on a small SoHo server so as to be able to access my mail remotely. The server is an old 1.6 Ghz Pentium IV with 512 MB running FreeBSD. My webserver is lighttpd and I have configured roundcube to use postgresql. imap provided by dovecot.
It works -- but it is slow. Opening a message, text or HTML, takes between 9 and 12 seconds, as does returning to the message index (50 messages per screen). This is with a very light webserver load. 'Top' indicates php-cgi running at 10-20% CPU when roundcube is opening a message or the index window, leading me to believe CPU speed is not the bottleneck. If that is the case, where is the bottleneck? Although the system is designed for remote access, I am noting these times accessing it via a LAN. The ADSL connection is not the problem.
By comparison, I occasionally use the mailservers of Rollernet.us, for which they offer roundcube. Opening a mesasage on their system takes ca. 3 seconds.
I have Googled "roudcube optimisation" and found a few tips, like enabling webserver caching, which I did, and compressing the Javascript and converting the PNGs to JPGs, which I didn't do.
Any other ideas?
Thanks.