logoon  windows
Apache Lounge
Webmasters

 


About

Forum Index Downloads Search Register Log in  RSS Apache Lounge



Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Apache Lounge is not sponsored by anyone.

Your donations will help to keep this site alive and well, and continuing the building of the binaries.



mod_never_expire updated

 
Post new topic   Reply to topic    Apache Forum Index -> Apache third-party Modules



View previous topic :: View next topic  
Author Message
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 2160
Location: Hilversum, NL, EU

PostPosted: Mon 11 Jul '11 15:40    Post subject: mod_never_expire updated Reply with quote

More time here to catch up. Updated mod_never_expire, now build with the latest VC.

What is mod_never_expire ?

Handy mod that sets long expire and cache-control headers. Great for Images, CSS, and Javascript, as long as you properly version your URLs.

Note: With the standard module mod_expires you can also set the expire. But that is complicated. And it wants by default to work per-content Content-Types, with mod_never_expire everything under a directory path is what matters.

To use, you just use any Directory/Location/Files container, and turn it on:

<LocationMatch ^/c/css/rd+/.+.css>
NeverExpire on
</LocationMatch>

or:

<Directory "/foo/bar/js/">
NeverExpire on
</Directory>


Steffen
Back to top


Post new topic   Reply to topic    Apache Forum Index -> Apache third-party Modules
Page 1 of 1