Why randomize your file names for cloud storage/CDN?
When you look at a profile picture on a social networking site like Twitter, they store image files like: http://a1.twimg.com/profile_images/1082228637/a-smile_twitter_100.jpg or even with a date somewhere in the path like 20110912. The only immediate benefit I can think of is preventing a bot from going through and downloading all files in your storage in a linear fashion. Am I missing any other benefits? What is the best way to go about randomizing it? I am using Amazon S3 so I will have one subdomain serving all my static content. My plan was to store an integer ID in my database and then