#2175: mako template performance problems
----------------------------------+-----------------------------------------
 Reporter:  tvrtko.sokolovski     |        Owner:  faide   
     Type:  enhancement           |       Status:  assigned
 Priority:  high                  |    Milestone:  2.0b6   
Component:  TurboGears            |      Version:  trunk   
 Severity:  normal                |   Resolution:          
 Keywords:  mako cache profiling  |  
----------------------------------+-----------------------------------------
Comment (by faide):

 well in fact this kind of reloading based on mtime (os.stat(fname)) is
 quite difficult to emulate if not using file system based... But on the
 other hand if you are in production you won't need that time checking.

 So this means we could add the same time-checking mechanism based on the
 environment we are in:

   - in development: use the os.stat(templanefilename) to determine mtime
 and maybe reload from file
   - in production: just ignore the time check and use only the cache...

-- 
Ticket URL: <http://trac.turbogears.org/ticket/2175#comment:12>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "TurboGears Tickets" group.
This group is read-only. No posting by normal members allowed.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to