The Joomla! Extensions Directory ™

Expires Headers Plugin

YSlow and Pagespeed look at Expires Headers when evaluating your site. This plugin allows an administrator to set global Expires, Cache-Control and Pragma headers, as well as individual settings (inclusive or exclusive) for particular menu items.

Speed up your site by following the rules! Set short time-spans for pages that change frequently, and longer time-spans for pages that don't.

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. These files can be addressed using htaccess rules. Visit the website link for more information and an example.

Update 1.2 5-18-2011: Update to resolve an array key issue. This resolves the error experienced by JanG in the reviews below.

4/26/2012 - Joomla 1.5/1.6/1.7 availability and support withdrawn.

All of my extensions are free and none of my extensions display advertisements or links to my sites or services. If you feel that I have blessed you, then you can bless me by making a contribution to fund future development. Visit the "Website" link to make a contribution.

Report Extension



Reviews: 4
Install and configure in under 5 minutes. Thank you this is an excellent extension.
Reviews: 2
First, if anyone's had trouble with the download, it is now fixed.

Second - extension works as expected! I didn't even have to enter an exclusion for my contact form.

Third - extension plays nicely with mod_expires and mod_pagespeed (but probably requires neither of those).

This is the only plugin of its kind and I thank you for it - and for answering emails from a non-customer on a Sunday!
Reviews: 3
Super Super Super ...
also working well on Google Page Speed analyzer .. many many thanx to the developer .. keep it up Sir ...
Reviews: 10
It's only a few points on yslow total score , still it helps on google.
Reviews: 3
i see everyone else has mostly had success with this however I'm not sure if it is working 100% for me. after installing and enabling my page tests still return this message: There are 97 static components without a far-future expiration date.
Owner's reply

The key to your problem is in the description:
"There are 97 static components"

Static components are things like images, javascript files, css files, flash files - basically - all of the things this plugin can't - and never claimed to be able to control. On the download page, there is a description of the .htacess statement required to accomplish this.

Thanks for the review.

Reviews: 2
I tried without success to update the “Server Header” through the .htaccess file where the Apache command is supported by the web hosting service.

This plug-in for Joomla! 1.5 installed without error and once the plug-in was enabled within the manager it took immediate effect to the current date as an update from the default of “Mon, 1 Jan 2001 00:00:00 GMT” for every article on the web site.

Thank you for sharing this must have extension.
Reviews: 1
Hi, plugin works great on Joomla 1.5 with Virtuemart 1.1.9 but it caches the checkout pages which means it does not update of users change quantitties and add or remove products unless they refresh the browser. Is there a way around this?
Owner's reply

This plugin allows you to configure WHICH pages are cached and which are not - based on menu item. A global configuration can be made, and then altered or removed with individual configurations per page.

If caching occurs on a particular page, it's because the plugin was configured to cache that page.

Reviews: 2
The plugin is great but it doesn't work with kunena. And the board is the only section on my site i need a shorter caching time. I spent much time to find the bug, but can't figure out why. That's the only reason for only four stars.
Owner's reply

Sorry about that. I tracked it down to an array key error that causes the plugin to halt. It is resolved in release 1.2 currently available for upgrade.

Reviews: 3
This plugin is easy to setup and for those experimenting with joomla caching and performance you are in for a treat. This plugin allows proper caching of joomla's dynamic content/output. If configured correctly along with file caching via htaccess you can get some really good results. Currently this cannot be used along with the inbuilt joomla cache or jotcache.

I would completly recommend this. Unlike joomla's 'use browser cache' option the cached content is availble outside a single browser session and reduces http headers sent because instead of sending a http header when you go from page to page so joomla can say to your browser the page has not changed your browser will see you have the page cached locally and until the content expires/becomes stale your browser will not need to send another http header for that page.

nice one
Reviews: 5
First I start using AIO solution called smartoptimizer - its works greate but I have some issues with expires and cache-control header tags. I decided install this extension and now I have all tags that speed up site.
I dont understand what "advanced options" do. I select menu, click add/update, try select rule (no rule exist)and nothing. plugin works without advanced options in any menu. Some problem may occur when try login/logout - user need click reload button in browser.
Owner's reply

Advanced parameters allow an administrator to make specific configurations per menu item. To use, make your settings, select your menu item and press the add/update button. The second select list allows the administrator to select a configuration to modify.

I'm glad it works for you. I've been anxious to get some feedback.