On 5/16/06, jvanasco <[EMAIL PROTECTED]> wrote: > > do you have any more info on that? > > just looking at the design of TG everything is memory resident, so i > would find it very beneficial to get the template part of TG into > memory as well. > > i imagine that there's some sort of caching going on, and kid is only > reading the files if they've changed, and a lot of the 'this file has > changed or not' happens in the operating systems memory so that doesn't > hit the disk - but I'd like to get as much of this into ram as possible.
IIRC, in production mode TurboGears doesn't even check to see if the template has changed. It just runs with what I starts off with (I *could* be wrong though, it's been a while since I've peeked in there) Template loading would only be a cost on the very first hit. I'm quite certain that there are many more expensive things we could optimize than that. Kevin --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears -~----------~----~----~----~------~----~------~--~---

