Why don’t you use the built in CDN support, available by editing app.yml? See the howto topic.
app.yml