Thursday, April 11, 2013

Re: Serving files in production

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)

iEYEARECAAYFAlFmsaoACgkQ12ptzpkpIlsxdwCdFUtbT5NuSyyHF4JtaUOqdyVh
fhoAn2+8E17TqwbPfxDh/u8GQ+yJ/R7e
=p7dS
-----END PGP SIGNATURE-----
On Thu, 11 Apr 2013 14:54:50 +0300
Avraham Serour <tovmeod@gmail.com> wrote:

> you can create a subdomain (static.yourdomain.com) and serve static using
> that, configure the second webserver to serve this subdomain

OK, but then all static references must be prefixed with the domain in
templates, etc AND life gets very complicated when trying to develop the
same site on a development system.

Is the recommendation really addressing a performance issue for high
traffic sites where Apache WSGI gets overloaded and becomes a bottleneck?

>
>
> On Thu, Apr 11, 2013 at 2:01 PM, Drew Ferguson
> <drew@afccommercial.co.uk>wrote:
>
> > Hi
> >
> > The docs recommend serving static data from a second web server rather
> > than the one serving via WSGI
> >
> > How do folks implement this? I can't figure how to serve data for the
> > same domain using 2 web servers. Am I missing something?
> >
> > --
> > Drew
> >
> >
>



--
Drew Ferguson
AFC Commercial
http://www.afccommercial.co.uk

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate