SSL Labs ScoreHSTS Preloaded

Expires Headers

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.

Note: Expires Headers cannot alter the expires headers for content that was not processed through the Joomla framework. This includes CSS files, Images, Favicon files and others. Unfortunately, this plugin cannot address the header values for your image, CSS or Javascript files. You'll need to contact your hosting provider to determine if your host supports setting default headers in .htaccess

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"


Version 3.1.1 Features Free Pro
Global expires headers
Menu item expires headers
Download 12

Bug Reports

Documentation: Online