Frustrated by low scores on YSlow? Satisfy at least one more item on the Yahoo YSlow checklist by following the rules! Set short time-spans for pages that change frequently, and longer time-spans for pages that don't. Expires Headers allows an administrator to set a default expiry time period for all pages, and optionally on a per-menuitem basis.
Unless a component on your system changes the Expires headers, your web pages expired in 2005! YSlow and Pagespeed pay attention to headers, shouldn't you? With Expires Headers, your pages can expire any time from now into the next 59 years, if you wish.
Here is an example that will set your expires headers for these file extensions ahead 10 years.
<FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf)$"> Header set Expires "Wed, 15 Apr 2020 20:00:00 GMT" Header set Cache-Control "public" </FilesMatch>
|Version 3.1.1 Features
|Global expires headers
|Menu item expires headers