instead of using URL('static', 'css/mycss.css') you use http://cnd.cloudfront.com/whatever/mycss.css
On Wednesday, November 28, 2012 10:33:39 PM UTC+1, elyase wrote: > > What is the way to go if one wants to distribute the static content via > Cloudfront CDN? I use Openshift and mod_proxy is there deactivated becasue > of performance issues so I guess I cant rewrite URLs at the server level. > How can I then change in Web2py the location of the static folder to a > Cloudfront distribution? --