Re: Optimizing Templates

2006-12-08 Thread Jeremy Dunck
On 12/7/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > The problem is most of the templates have something that adjusts > per-user Perhaps I wasn't clear. Unless you're changing the contents of the template files themselves at runtime, the actual contents of the response to the user is tot

Re: Optimizing Templates

2006-12-08 Thread [EMAIL PROTECTED]
On Dec 7, 4:50 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > > > we have a build script to perform those variables sostitution that you have in the template so that whatever we can fill in at build time the template doesn't need to figure it out at runtime. We h

Re: Optimizing Templates

2006-12-07 Thread John Lenton
On 12/7/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Well it's none of that. The template process time is literally > 150-500ms using the profiling stuff... me myself, I'd split that huge template into a hierarchy, and profile each chunk separately. That might give you a better clue as to

Re: Optimizing Templates

2006-12-07 Thread [EMAIL PROTECTED]
The problem is most of the templates have something that adjusts per-user But yes, 500ms is a HUGE problem when that's for every single hit and it's high load. On Dec 7, 9:57 pm, "Jeremy Dunck" <[EMAIL PROTECTED]> wrote: > On 12/7/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > Good l

Re: Optimizing Templates

2006-12-07 Thread Jeremy Dunck
On 12/7/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Good luck, here's one page's set: IIRC, you're doing -lots- of hits on these pages. Assuming you're already caching results where you can (in memcache or http downstream), you probably need to look at caching loaded templates. I'm sugg

Re: Optimizing Templates

2006-12-07 Thread Don Arbow
On Dec 7, 2006, at 8:15 AM, [EMAIL PROTECTED] wrote: > > Right off the top, I'd suggest alot of your slowdown is in the number > of http requests. It appears you're making quite a few javascript and > css calls. I'd see if i could pare that back. > > > Also, temporarily remove your google analytic

Re: Optimizing Templates

2006-12-07 Thread [EMAIL PROTECTED]
Well it's none of that. The template process time is literally 150-500ms using the profiling stuff... On Dec 7, 5:15 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Right off the top, I'd suggest alot of your slowdown is in the number > of http requests. It appears you're making quite a few

Re: Optimizing Templates

2006-12-07 Thread [EMAIL PROTECTED]
Right off the top, I'd suggest alot of your slowdown is in the number of http requests. It appears you're making quite a few javascript and css calls. I'd see if i could pare that back. Also, temporarily remove your google analytics code... I've seen that cause a major hang on some sites. --~-

Re: Optimizing Templates

2006-12-07 Thread [EMAIL PROTECTED]
Good luck, here's one page's set: ### bone.html ### {% load profiling %} http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> http://www.w3.org/1999/xhtml"; lang="{{ LANGUAGE_USED }}" xml:lang="{{ LANGUAGE_USED }}"> http://www.curse-gaming.com"; />

Re: Optimizing Templates

2006-12-07 Thread Adrian Holovaty
On 12/7/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Any Tips? > > Our templates are running from 150ms-500ms process times, something we > really need to cut down. As far as I can tell it's not doing any > queries in them. If you copy-and-paste us your templates, we may be able to give you

Optimizing Templates

2006-12-07 Thread [EMAIL PROTECTED]
Any Tips? Our templates are running from 150ms-500ms process times, something we really need to cut down. As far as I can tell it's not doing any queries in them. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "D