title: How will a CDN work with my site?
body: <p>I have tried to look for answers for my question but haven't found anything conclusive.</p>
  
  <p>I have a site which, among other things, stores member pictures &amp; thumbnails.  They are in separate directories, and within each directory are a cascade of folder names based on properties of the image.  This is to prevent thousands of images being in one directory for performance reasons.</p>
  
  <p>for example, a typical image has a URL like:</p>
  
  <p>www.mysite.com/thumbs/100x75/04/18/s3hf9sj_939swzl.jpg</p>
  
  <p>The file location and name are stored in a mysql database so they can be dynamically displayed.</p>
  
  <p>How would a CDN be implemented for my images? Can I recursively select all the images in a directory to be uploaded to the CDN?  How often would it update this file information?</p>
  
  <p>And finally, what might happens when the database retrieves a url like the one above?  Will the CDN automatically redirect the user to something like this?</p>
  
  <p>www.cdn.mysite.com/thumbs/100x75/04/18/s3hf9sj_939swzl.jpg</p>
  
  <p>Or will I have to design my database differently?</p>
  
  <p>Thank you.</p>