which is the best way to implement a cookieless domain for serving all static contents in Yii?
For example, if my domain is www.example.com and I want images, css, etc. served by www.example-static.com, which is a cookieless domain, should I do something like changing Yii::app()->theme->baseUrl then use it for referencing all static contents?
Thank you. Actually I don’t need the parallelization part (we have a hardware network balancer), so I’ll just add http://static.example.com/ to all images and css urls.