Hi,

Gearbox built-in server is only meant for development, it's not meant for
production, it's a single thread server.
Adding wsgiref.threaded = true option might slightly improve things as
otherwise only one file at time is server, but I definitely suggest you use
waitress (by setting use = egg:waitress#main in your .ini) if you want to
serve the application through gearbox on production.

About the logging, that's caused by wsgiref itself which gearbox
development server uses so it cannot be disabled.





On Sun, Apr 17, 2016 at 8:17 PM, Juan Antonio Ibáñez <[email protected]>
wrote:

> Hello,
>
>    I was serving my apps using Paste in my developing enviroment. I
> created a new project and I am using Geargox instead but I noticed much
> speed difference. Gearbox take a lot to server page and JS and CSS included
> files. Is really gearbox slower thant Paste? Both apps run inside same
> server and they include same static JS and CSS files.
>
>    I also get one debug line in console for earch file served. Is there
> any way to disable static files serving log output?
>
> Regards
>
> --
> You received this message because you are subscribed to the Google Groups
> "TurboGears" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/turbogears.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/turbogears.
For more options, visit https://groups.google.com/d/optout.

Reply via email to