On Wed, Jan 7, 2009 at 2:16 PM, Anthony wrote: > Is it normal for the zipimporter to take 500-1000ms every request - > should it be caching internally? > > I'm importing like so: > > # templates.py > sys.path.insert(0, 'lib/jinja2.zip') > from jinja2 import Environment, FunctionLoader , TemplateNotFound , > MemcachedBytecodeCache > > Will it still be caching if im not importing the zip dircetly in the > main.py?
Not an answer to your question (which I'd like to know :), just a warning: you won't be able to use MemcachedBytecodeCache from Jinja2, because bytecode usage is not allowed in App Engine. The example using MemcachedBytecodeCache in the App Engine Cookbook only works in the dev server, not in production. :-/ Apart from this, Jinja2 implementation is very smooth. :) -- rodrigo --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" 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/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---
