I want to use mod_rewrite to include a date in an image filename, so browsers will know to refresh an image anytime it's changed, despite any expires headers.
My rewrite rule is
RewriteRule ^images/[0-9]+/(.*)$ http://my-amazon-bucket.s3.amazonaws.com/$1
which should turn something like
http://example.com/images/2010-08-11/example-image.jpg
into
http://my-amazon-bucket.s3.amazonaws.com/example-image.jpg
Will the first domain be carrying the bandwidth of the entire image file?