Forgot your password?
typodupeerror
User Journal

Journal produke's Journal: mod_rewrite Fix for Caching Updated Files

mod_rewrite Fix for Caching Updated Files

Web Developers sometimes use file.ext?v=004 as a version control system to force visitors to use updated files. This is terrible. Instead link to apache-003.css and set it to be cached forever. When you change the file you just change the links to apache-004.css. That eliminates millions of bandwidth and resource robbing If-Modified-Since requests.

This discussion has been archived. No new comments can be posted.

mod_rewrite Fix for Caching Updated Files

Comments Filter:

"There... I've run rings 'round you logically" -- Monty Python's Flying Circus

Working...