On 2/3/06, Armin Ronacher <[EMAIL PROTECTED]> wrote:
Does django provide a system for caching the nodelist? In Jinja I'veadded a loader which cpickles the nodelist using protocol 2 which isvery fast because you don't have to parse it again.
Django provides a caching framework, and you can cache arb
Does django provide a system for caching the nodelist? In Jinja I've
added a loader which cpickles the nodelist using protocol 2 which is
very fast because you don't have to parse it again.
Additonally you can store the templates in an global dict like in the
solution proposed in that thread:
htt
On 2/2/06, Wojtek/brandlay.com <[EMAIL PROTECTED]> wrote:
> Sure, below is the tag which I use for including a template. The
> template which is included is cached by my caching mechanism.
One suggestion that comes to mind is in the "else" clause: Instead of
loading the template there, load it i
Sure, below is the tag which I use for including a template. The
template which is included is cached by my caching mechanism.
I've just noticed that the caching mechanism only caches the innermost
template in the inheritance tree. So the templates from which I
inherit are reparsed at each requ
On 2/2/06, Wojtek/brandlay.com <[EMAIL PROTECTED]> wrote:
> I'm caching the unrendered templates, so there is no filesystem/parsing
> overhead.
>
> It's only executing python code related to template rendering which is
> making it slow. I can't really cache template output since it varies a
> lot
I'm caching the unrendered templates, so there is no filesystem/parsing
overhead.
It's only executing python code related to template rendering which is
making it slow. I can't really cache template output since it varies a
lot depending on who is viewing it.
Anyone tried using psyco or similia
On Feb 2, 2006, at 2:53 PM, Wojtek/brandlay.com wrote:
any idea how to speed Django up? my servers have load 140 now even
though I'm caching templates. any sites/hints on speading the whole
machinery up?
Yikes!
Most of what I know is summed up here: http://www.jacobian.org/2005/
dec/12/dja
On 2/2/06, Wojtek/brandlay.com <[EMAIL PROTECTED]> wrote:
> any idea how to speed Django up? my servers have load 140 now even
> though I'm caching templates. any sites/hints on speading the whole
> machinery up?
>
> the thing that generates the most load are the templates it seems. a
> profile
any idea how to speed Django up? my servers have load 140 now even
though I'm caching templates. any sites/hints on speading the whole
machinery up?
the thing that generates the most load are the templates it seems. a
profile session result is below, all hints are welcome :)
9787 fun
Ciao Joseph!
2006/2/1, Joseph Kocherhans <[EMAIL PROTECTED]>:
> Beacuse I don't use INNER JOIN often enough for it to be readily
> accessible in my brain ;-) You're right though, INNER JOIN makes more
> sense. (I would hope that it performs better accross every supported
> db engine, but who knows
10 matches
Mail list logo