logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


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

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Third-party Modules View previous topic :: View next topic
Reply to topic   Topic: mod_never_expire updated
Author
Steffen
Moderator


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


Reply to topic   Topic: mod_never_expire updated View previous topic :: View next topic
Post new topic   Forum Index -> Third-party Modules