According to the document, I suppose that imports are always cached. I
expierenced notable delay in accessing my application these days and
so I use the following code to verify if imports are cached:

access_count = 0

def all_views():
        global access_count
        access_count += 1
        print >>sys.stderr, "Access count: %d" % access_count

When accessing, the access count does not always increase as I
supposed but returns back to  1 after maybe several times. I can't
tell the rule of it but I can see that the cost is much higher for the
first time when a page is visited.

I wonder If it is a normal situation.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to