On Fri, Jan 17, 2014 at 9:47 AM, jonathan pedoeem <[email protected]>
 wrote:

> Hello all,
> I am working on making an extremely simple blog for a udacity class I am
> taking, one problem I have ran into is that whenever I submit a new post
> and redirect to the front page of the website the post does not appear. I
> have to refresh the page and only then it does appear (only shows the old
> ones). That lag though
>


It's not so much lag, but the commit and apply time that the datastore
requires to store and make available newly committed entities. In short,
the datastore needs more time than you're giving it before it can return
new entities via the GQL query.

What you can do is introduce a small delay (sleep) before the redirect
occurs, or store new entries into memcache or an instance variable.


-----------------
-Vinny P
Technology & Media Advisor
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to