I am using django-mediagenerator for managing static files. It has been great, but I am trying to figure out how I could put the static files on a content delivery network. I will be using Amazon AWS.
The way I see it, I could do one of two things:
- Upload the files to the CDN, and configure mediagenerator/django to point to the CDN's url
- Upload the files to the CDN and configure Apache to serve the files from CDN
However, both of these do not strike me as particularly straight forward.
Does one of those solutions sound better than the other one? Is there a different way of doing this?