SSL Labs Score

Log in to participate

There is no cost to join RicheyWeb, and membership is a requirement to submit bug reports and participate in the support forums.

× Extension Discussions

Expires Headers

More
1 year 3 months ago #52 by michael
michael created the topic: Expires Headers
Frustrated by low scores on YSlow? Satisfy at least one more...

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.

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

Features:

  • Global expires headers
  • Menu item expires headers

  Download Expires Headers 2.0

Bug Reports

Documentation: Online | Zipped PDF

Read article...

Please Log in or Create an account to join the conversation.

  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to add attachements.
  • Not Allowed: to edit your message.
Kunena Forum