Better code to work as mod_expires for Apache httpd backend