Remember mod_images_never_expire?
Well Today I wrote mod_never_expire . Its pretty much the same idea, but its a little more configurable, and for files it sets long expire and cache-control headers…. And it works in httpd 2.x
To use, you just use any Directory/Location/Files container, and tur it on:
<LocationMatch ^/c/css/r\d+/.+\.css>
NeverExpire on
</LocationMatch>
or:
<Directory "/foo/bar/js/">
NeverExpire on
</Directory>
Great for Images, CSS, and Javascript, as long as you properly version your URLs.
