Feature/router array cdn #879

Merged
merged 1 commit into from Apr 13, 2013

3 participants

@blainesch
Union of RAD member

For a site that uses a CDN, but has an uneven amount of js/css/imgages. They might upload all assets to all CDN's then have a script to 'randomly' select one based on the filename. Doing it based on the filename ensures the same CDN will always get picked, which allows for browser caching.

To be applied on top of #878.

@nateabele
Union of RAD member

@BlaineSch It looks like @jails' refactoring commit is preventing me from auto-merging this. I'll do it manually later today, unless you beat me to it with a rebase. :-)

Blaine Schmeisser Update `Media` to accept an array of `host` to be more dynamic.
For a site that uses a CDN, but has an uneven amount of js/css/imgages. They might upload all assets to all CDN's then have a script to 'randomly' select one based on the filename. Doing it based on the filename ensures the same CDN will always get picked, which allows for browser caching.

To be applied on top of #878.
2002c68
@blainesch
Union of RAD member

updated @nateabele

@jails
Union of RAD member

👍

@jails jails merged commit 6fc4b4e into UnionOfRAD:dev Apr 13, 2013

1 check passed

Details default The Travis build passed
@blainesch blainesch deleted the unknown repository branch Apr 13, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment