public marks

PUBLIC MARKS from apachedude with tags rewritecond & control

17 May 2007 14:45

mod_rewrite Fix for Caching Updated Files

(via)
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.