I am OK with the blank page, because I know that I can refresh the
page.
But the app is built for users, and giving them a blank page is not
desirable.
You know, once uploaded, I can view the page and get it refreshed
once.
However, on the next day, the blank page will appear again...


On 9月4日, 上午7時58分, Jean-Lou Dupont <[EMAIL PROTECTED]> wrote:
>  I also experience the condition you are referring to above. One page
> refresh later, the issue is gone for good.
>
> I believe it takes some time for apps to get distributed throughout
> GAE and some ''priming'' is being done on the first access. Anyways,
> personally, I don't care that much about this initial "bump" after an
> upload.
>
> On Sep 3, 6:39 pm, "shadow.hk" <[EMAIL PROTECTED]> wrote:
>
> > So you mean it's caching problem at GAE server?
> > What if, after a night, when I open the page, I get a blank page again
> > and have to refresh?
> > Is that GAE clear their cache from time to time? (just wonder
>
> > On 9月3日, 下午10時11分, Jean-Lou Dupont <[EMAIL PROTECTED]> wrote:
>
> > > You must be a bit patient: let GAE the time to cache your files around
> > > their infrastructure. Makes sense?
>
> > > On Sep 3, 9:17 am, "shadow.hk" <[EMAIL PROTECTED]> wrote:
>
> > > > I don't know if any of you experience this.
> > > > Each time after "appcfg.py update my_app", I *always* get a blank page
> > > > in the first load of my page.
> > > > I just feel quite frustrated as I don't know how to solve it.
> > > > I really hope that someone can help me.
>
> > > > In my app.yaml:
> > > > - url: /.*
> > > >   script: home.py
> > > >   login: required
>
> > > > The last few lines in home.py file:
> > > > application = webapp.WSGIApplication([
> > > >     ('/', MainPage),
> > > >     ],debug=True)
>
> > > > def main():
> > > >     logging.getLogger().setLevel(logging.DEBUG)
> > > >     run_wsgi_app(application)
>
> > > > if __name__ == "__main__":
> > > >   main()
>
> > > > And finally the MainPage section in home.py (Note that GROUPS is just
> > > > a python tuple):
> > > > class MainPage(webapp.RequestHandler):
> > > >   def get(self):
> > > >     nickname = users.get_current_user().nickname()
> > > >     if users.is_current_user_admin():
> > > >         nickname += " (ADMIN)"
> > > >     template_values = {
> > > >         'nickname': nickname,
> > > >         'logout_url': users.create_logout_url('/'),
> > > >         'groups': GROUPS,
> > > >         }
> > > >     path = os.path.join(os.path.dirname(__file__), 'template.html')
> > > >     self.response.out.write(template.render(path,
> > > > template_values))
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
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