Re: yslow website stats

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The "Use a CDN" doesn't at all apply to our case. With the plentiful spread of proxy boxes, (which serve static content) we're a small- scale CDN by ourselves.

On the matter of Expires, here's what would need to be added to an Apache config, assuming static stuff is in /srv/web/static:

<Directory /srv/web/static>
ExpiresByType image/gif "access plus 1 month"
ExpiresByType image/png "access plus 1 month"
ExpiresByType text/css "access plus 1 month"
ExpiresByType text/javascript "access plus 1 month"
</Directory>

Of course we can tweak the times, I just made up 1 month.

As for compression, yes it will increase load, but it will save users' bandwidth and will increase speeds on slow connections (56K, EDGE, EVDO). The compressed versions can be cached on disk as well so the load of compression doesn't matter on read-only traffic.

Moving JavaScript to the bottom of a page is also a low-hanging fruit. The thought is that presentation can be achieved, so users see the page even though the JavaScript isn't loaded.

Darren VanBuren
==============
http://theoks.net/

Sent from my iPod

On Jan 8, 2010, at 10:10, Matt Domsch <Matt_Domsch@xxxxxxxx> wrote:

On Fri, Jan 08, 2010 at 11:07:53AM -0600, Mike McGrath wrote:
On Fri, 8 Jan 2010, Bert Desmet wrote:

Hi

mmcgrath asked me to collect some statistics about the fedora website.
He asked me to use yahoo's yslow.
You can find the results here: http://bdesmet.be/upload/finished.pdf
yahoo's page with extra information on every test:
http://developer.yahoo.com/performance/rules.html


Thanks bert. I'm wondering how much of these we can do something about
(the low hanging fruit)

The "Use a CDN" messages all disappear with a config file setting
stating that fp.o _is_ a CDN.

Setting up better expiry times on /static/ and /web/static/ should be
low-hanging fruit.

Adding compression should be low-hanging fruit, but will increase the
CPU needed on the app/proxy servers.

CSS at top, and javascript at the bottom, I can't say, having not
looked at the pages in question.  May be easy.

Rest are opportunistic I'd say.

--
Matt Domsch
Technology Strategist, Dell Office of the CTO
linux.dell.com & www.dell.com/linux

_______________________________________________
Fedora-infrastructure-list mailing list
Fedora-infrastructure-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-infrastructure-list

_______________________________________________
Fedora-infrastructure-list mailing list
Fedora-infrastructure-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-infrastructure-list

[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux