On Wed, Nov 4, 2009 at 6:16 AM, shwdai <[email protected]> wrote:
> I found web.template cache the compiled template content in it's
> self._cache, but it can't check the orignal template file even if the
> template file has been changed. I add a modify_time flag in its cache, so
> now when template file changed, the compiled cache of this template will be
> automaticly renewed.

It is designed to use cache in production and no cache in dev.
checking mtime for each template invocation is too expensive.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" 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/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to