[horde] How to improve waiting times for ajax requests?

Jan Schneider jan at horde.org
Fri Apr 19 17:50:10 UTC 2013


Zitat von Oscar del Rio <delrio at mie.utoronto.ca>:

> On 04/19/13 12:12 PM, Michael M Slusarz wrote:
>>
>> You are using filesystem caching as directed in the config file,  
>> right?  Compressing javascript on every pageload obviously makes no  
>> sense otherwise and you would be spreading FUD by making claims of  
>> "disabling compression makes things faster!" since that is a  
>> blatantly incorrect statement.
>>
>
> In my case, disabling cache compression makes "first load"  
> significantly faster.

Of course. The files need to be compressed at least once.

> Here's a quick test of loading time, with compression on and off,  
> clearing the cache in between:
>
> JS and CSS cache compression ON (built-in compressor):
> First login:  Mail=8.3s, Calendar=7.5s
> Second login: Mail=0.9s, Calendar=0.8s
>
> JS and CSS cache compression OFF:
> First login:  Mail=3.7s, Calendar=2.0s
> Second login: Mail=0.9s, Calendar=0.9s
>
> After the code has been cached (on second login), there seems to be  
> no significant difference if cache compression is on or off.

You will only notice the gain of the compressed version if you are on  
a sufficiently slow network connection.

> All tests in dynamic mode. Using filesystem caching. Server is  
> Solaris 11.1 with ZFS filesystem.
> All Horde packages are current as of today.


-- 
Jan Schneider
The Horde Project
http://www.horde.org/



More information about the horde mailing list