0

I have enabled mod_proxy on my stack and I have a call (below). I am trying to determine what the impact is on the CDN and billing.

For instance:

http://domain.com/ID/SIZE/my-super-lengthy-SEO-url.jpg

 RewriteRule ^scan/([^/]+)/(s|l|xl)/(.*)$ http://cdn.domain.com/$1_$2.jpg [P,L]

Based upon the example above:

  1. Are the CDN benefits still being used (i.e. TTL/caching)?
  2. When using a cloud service (i.e. Rackspace/Amazon/etc) would the above call result in duplicate bandwidth charges?
Amit Verma
  • 40,709
  • 21
  • 93
  • 115
Dough Boy
  • 1
  • 1

1 Answers1

0

I work for a Cloud CDN provider (Incapsula) so my answer is based only on my experience with this particular product.

Having said that:

  1. The image will be cached by CDN.(i.e. all related acceleration benefits will still apply)
  2. No, as there is only one resource loaded. (301 request requires close to 0 bandwidth)

I`m pretty sure (99%) my second answer will apply for all Cloud CDN providers.

Best, Igal.

Igal Zeifman
  • 1,146
  • 7
  • 8