[web2py] Re: Static files outside of web2py

2013-11-05 Thread Annet
Thanks you both for your replies. As Cliff says it's something Webfaction recommends, when your having memory and/or performance issues. so webfaction needs two different hostnames ? > At home I have a server running Mac OS X Server Lion which is pretty straightforward to configure, I am still

[web2py] Re: Static files outside of web2py

2013-11-05 Thread Niphlod
so webfaction needs two different hostnames ? On Tuesday, November 5, 2013 10:45:10 AM UTC+1, Cliff Kachinske wrote: > > Niphlod, > > Webfaction recommends this strategy as a way to reduce memory usage. Their > nginx instance serves static files without spinning off an Apache worker; > so it doe

[web2py] Re: Static files outside of web2py

2013-11-05 Thread Cliff Kachinske
Niphlod, Webfaction recommends this strategy as a way to reduce memory usage. Their nginx instance serves static files without spinning off an Apache worker; so it doesn't count against your memory allotment. Their memory sentry is very strict about killing your processes if you account goes o

[web2py] Re: Static files outside of web2py

2013-11-04 Thread Niphlod
so the question is "is this a good idea?" ? on what premises ? what's the goal of moving it? Why your application needs another application to serve static files ? On Monday, November 4, 2013 12:11:50 PM UTC+1, Annet wrote: > > In layout.html I uncommented the following lines: > > http://ajax.goog