Welcome! Log In Create A New Profile

Advanced

Re: CDN questions...

Ryan Malayter
January 09, 2011 12:40AM
On Saturday, January 8, 2011, Ilan Berkner <iberkner@gmail.com> wrote:
> Thanks, why wouldn't you do a location rewrite?
> What's the advantage of using the sub / subs module?

With sub module, you can change the URL of the audio file to point to
the CDN inside the HTML as it is delivered. This avoids the extra
round-trip of a redirect as discussed previously.

The net effect is the same as changing the urls in your site, but it
is a simple nginx config so it is easy to tweak. You can also use
variables, so A/B testing or a pilot rollout to say 10% of visitors
could be done as well using if or map directives to set the
substitution variable.

--
RPM

--
RPM

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

CDN questions...

iberkner January 07, 2011 08:40PM

Re: CDN questions...

nicholas.tang@livestream.com January 07, 2011 09:14PM

Re: CDN questions...

iberkner January 07, 2011 09:22PM

Re: CDN questions...

nicholas.tang@livestream.com January 08, 2011 09:16AM

Re: CDN questions...

iberkner January 08, 2011 09:56AM

Re: CDN questions...

Ryan Malayter January 08, 2011 02:40PM

Re: CDN questions...

iberkner January 08, 2011 11:16PM

Re: CDN questions...

Ryan Malayter January 09, 2011 12:40AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 234
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready