Hello all,
I’m thinking about using Amazon’s cloudfront as a CDN for static files (JPGs, CSS, Javascripts)
Since Yii uses assets to cache everything, how can I make use of amazons cloudfront w/ Yii?
I can host all css and images in cloudfront and make everything point to amazon.
For example,
img src=http://amazoncloudfront/bla.jpg
But won’t the assets folder eventually take over and render useless the css and images directory (thus the CDN)?
Please take into account that there are 2 hosting companies:
1.- Amazon for CDN
2.- Another web host for the rest. program + framework
What else can be cached in a CDN? Can the any part of the framework be cached?
Any examples or links are greatly appreciated.
Thanks