[Twisted-web] Page loading time

Jean-Paul Calderone exarkun at divmod.com
Mon Feb 9 20:36:39 EST 2009


On Mon, 9 Feb 2009 17:26:54 -0800, Piotr Jackowski <jackowski.piotr at gmail.com> wrote:
>Hi George
>
>Yes I know this is a wide-range topic. I have just started developing with
>Nevow and I don't have any major problem yet.
>I'm on planing stage so I just wanted to know what options I have.
>First maybe I would like to know how to compress  response, including
>javascript files from Nevow/Athena framework.
>After every request to LivePage there are 3-4 additional requests for Nevow
>js and I want add my js files too. I
>was thinking about using dojotoolkit.org, so I can end up with many js
>static files.

Try setting jsModuleRoot to something cacheable if you don't want every
page load to require the JavaScript module sources to be downloaded
again.

Jean-Paul



More information about the Twisted-web mailing list