Will mod_rewrite per image be in a different bandwidth cost area for the source domain?

I want to use mod_rewrite to include a date in the image file name, so browsers will know to update the image anytime it changes, even though all the headers expire.

My rewrite rule

RewriteRule ^images/[0-9]+/(.*)$ http://my-amazon-bucket.s3.amazonaws.com/$1

which should look like

http://example.com/images/2010-08-11/example-image.jpg

at

http://my-amazon-bucket.s3.amazonaws.com/example-image.jpg

Will the first domain have the bandwidth of the entire image file?

+3
source share
2 answers

, , (. HTTP- 302).

( P, . mod_proxy), , .

+2

, . , .

0

Source: https://habr.com/ru/post/1744528/


All Articles