Top of Page
Top of page

Expires Headers

expiresheadersUnless a component on your system changes the Expires headers, your web pages expired in 2001!  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.

Frustrated by low scores on YSlow, I looked into modifying header fields to satisfy at least one more item on the Yahoo YSlow checklist.  Suprisingly, I found there wasn't a Joomla extension to provide this functionality!

Expires Headers allows an administrator to set a default expiry time period for all pages, and optionally on a per-menuitem basis.

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"
</FilesMatch>

RicheyWeb Joomla extensions are free! Additionally, they contain no advertisements or links back to RicheyWeb.com. If you feel that I have blessed you, then you can bless me. Click to make a donation to fund future development.

Top Downloads

Joomla 2.5

  1. AdminExile 17.9%
  2. ByeByeGenerator 10.6%
  3. Top of the Page 9.1%
  4. Favicon Package 8.0%
  5. SplashR 7.6%
  6. e-Privacy 6.7%
  7. CoolClock 5.6%
  8. Authentication - EMail 3.7%
  9. Content - MooAccordion 3.2%
  10. ScriptsDown 2.7%
  11. Browser Update Warning 2.5%
  12. Expires Headers 2.4%
  13. NicePanel 2.3%
  14. Terms of Service Package 1.6%
  15. Clean Response 1.5%
  16. System - Nomad 1.5%
  17. System - CleanFeed 1.2%
  18. Password Strength 1.1%
  19. DomainRestriction 1.1%
  20. Session Keeper 1.1%
  21. HeadTag 1.0%
  22. Detect Language 0.9%
  23. MicroBread Module 0.6%
  24. KeepaliveLight 0.6%
  25. MetaRobots 0.6%
  26. Meta Character Count 0.6%
  27. External Favicon 0.6%
  28. Offline 0.5%
  29. Answer Tips 0.4%
  30. Log Bad Passwords 0.4%
  31. System - SEBLODFeed 0.3%
  32. User - StaticPassword 0.3%
  33. Settler Module 0.3%
  34. User - StaticEmail 0.3%
  35. Settler Plugin 0.3%
  36. Loggie 0.2%
  37. Content - Before/After 0.2%
  38. Age Of 0.2%
  39. Profiler 0.1%
  40. Do Not Track 0.1%
  41. Captcha - HashCash 0.0%

Joomla 1.5

  1. e-Privacy 100.0%
RicheyWeb Extensions have been downloaded 430,108 times.
118 individuals and companies have made donations supporting future development.
Thank you Michal Kaukic!