I too have been investigating and have been using Yahoo!'s Yslow tool.

My application also uses the YUI compressor from Yahoo!  I also concatenate
all my CSS.

Initially the application was scoring around F (56).

By compressing the JS and concatenating the CSS I can get it to D (69).

By adding the following lines to my Apache configuration:

<BEGIN>
FileETag none

LoadModule deflate_module modules/mod_deflate.so
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css
text/javascript application/x-javascript application/javascript

LoadModule expires_module modules/mod_expires.so

ExpiresActive On
ExpiresByType text/css "access plus 1 month"
ExpiresByType text/plain "access plus 1 month"
ExpiresByType image/jpeg "access plus 1 month"
ExpiresByType image/gif "access plus 1 month"
ExpiresByType image/png "access plus 1 month"
ExpiresByType text/javascript "access plus 1 month"
ExpiresByType application/x-javascript "access plus 1 month"
ExpiresByType application/javascript "access plus 1 month" 
<END>

I can get a score of A(98).  I don't get full marks as I have too many
background CSS images loading at the moment.

- Robert


-----Original Message-----
From: Dennis Fogg [mailto:[EMAIL PROTECTED] 
Sent: 07 April 2008 09:54
To: [email protected]
Subject: RE: [fw-general] ZF performance advice



Ralf Kramer wrote:
> 
> On my development box I have average excecution times between 0.2 and 
> 0.4. This is an ubuntu linux, but it runs on a vmware workstation.
> Though, Zend Platform is installed...
> 
> I have moved the application to a very common production server. It is 
> a Dual-Core AMD Prozessor with 1 GB Memory at Strato. There is 
> currently no load on this server. Measurement is realized by 
> PEAR/Benchmark/Timer.php
> 
> Average execution time is 0.1
> Details are available in this screenshot:
> http://belisar.de/zf-benchmark.png
> Access to the sources or the application can be granted on demand.
> 
> Zend Platform (or smth else) is not installed. This scenario is very 
> common - at least for my business. 0.1 is imho somewhat slow, but 
> nothing is for free. Currently are no caching features developed, 
> improvements possible ;-)
> 

Here's a performance benchmark to shoot for:
These ex-google guys have gotten their pages to load in 50 ms ( 0.05 sec):
http://blog.friendfeed.com/2008/03/friendfeed-is-now-lot-faster.html

They are actually using a different programming language (python as
described in the last 2 minutes of http://qik.com/video/46046 ) but I'm
assuming most of their processing time is db accesses and not the specific
implementation language.



--
View this message in context:
http://www.nabble.com/ZF-performance-advice-tp13167829p16536296.html
Sent from the Zend Framework mailing list archive at Nabble.com.


________________________________________________________________________
This email has been scanned for all known viruses by the MessageLabs Email
Security Service and the Macro 4 plc internal virus protection system.
________________________________________________________________________


________________________________________________________________________
This email has been scanned for all known viruses by the MessageLabs Email 
Security Service and the Macro 4 plc internal virus protection system.
________________________________________________________________________

Reply via email to