If you're a web developer and care about having snappy web sites you'll know about YSlow for Firebug. I managed to get a grade A (96) but I'm suspecting that there's a bug in the YSlow analysis.
Setting an Expires
header is inferior to using Cache-Control
which my site was already using fine with headers like:
Cache-Control: public,max-age=3600
according to the latest documentation but YSlow kept going on about setting Expires
headers. I prefer Cache-Control
since you don't have to do any date formatting which eats a few excess CPU cycles. If anybody knows why it's a good idea to use both Cache-Control
and Expires
let me know.