Hi Hai :) Can you ask this kind of question on StackOverflow? We moved Q&A functionality from this forum to "google-app-engine" tag there. http://stackoverflow.com/questions/tagged/google-app-engine
Thanks, On Sun, Jun 3, 2012 at 8:02 PM, Hai Phaikawl <[email protected]> wrote: > My main handler file looks like this: > > import webapp2 > import install > import homepage > import authhandler > import admin_user > > app = webapp2.WSGIApplication([ > (authhandler.get_login_url(), authhandler. > LoginHandler), > (authhandler.get_logout_url(), authhandler > .LogoutHandler), > ("/install", install.InstallHandler), > ("/admin/user/add", admin_user. > AdminAddUserHandler), > ("/admin/user", admin_user. > AdminUserHandler), > ("/", homepage.HomepageHandler), > ], debug=True) > > As I could see, there's a whole bunch of modules to import, and those > modules also import others, it's very very unnecessary because users only > access one and only one handler in each request. It hurts performance. > How could I improve it? > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/google-appengine/-/jMkvImKqLIUJ. > 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. > -- Takashi Matsuo | Developer Advocate | [email protected] -- 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.
