Apache Lounge



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.



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.

Your donations will help to keep this site alive and well, and continuing building 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

Joined: 15 Oct 2005
Posts: 2724
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


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

Back to top

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