Expires Http header: the magic number of YSlow
A good way to reduce the number of Http Connections required to
load a web page is to store images and other resources in the
href='http://www.procata.com/cachetest/'>browser cache. It is
href='http://yuiblog.com/blog/2007/01/04/performance-research-part-2/#comment-169606'>very
well presented in this other blog. The problem is to find a correct
configuration of the names and values used by different browsers to
optimize the cache usage. To help us to identify what is going on during
the communication between browsers and servers, we have a large set of
tools available on the internet. One of my recent discoveries and preferred
tool is YSlow.
|
Performance Grade of this page: F (59)
|
How to setup Expires headers
|
Expires is a Http header that allows you to define
With the code, the browser started receiving headers like these:
It was supposed to be a simple configuration step of my website optimization, but - after trying different values for the headers, including Expires header, Cache-Control and Last-Modified - the YSlow was still saying the Expires header was not A far future Expires headerWell, far future seems to be one of that relatives measures,
That's it, everything more than two days seems to be far enough to YSlow - a minor detail in this complex task of websites tunning. And it is not an official information, just an empirical observation. If you need more precise guidance about YSlow, the Chief Performance Yahoo!, Steve Souders, is launching a book entirely dedicated to website optimization - a promising publishing from a company that serves millions of users every day :) A last and very important advise: don't take decisions based only on YSlow. It is just an indicator, a tool created for Yahoo site optimization that can give you a glimpse about the quality of your web site - a helpful tool that should evolve from now on to become part of the arsenal of tips and tricks for websites tunning. Related Topics >>
Blog Links >>
|





