gae-init / phonebook

Phonebook app built with gae-init
http://phonebook.gae-init.appspot.com
MIT License
11 stars 5 forks source link

Newly added contact does not show up unless I refresh browser #3

Closed do-n-khanh closed 6 years ago

do-n-khanh commented 6 years ago

Hi,

I am at "Changing the redirect" part of step 6 of http://docs.gae-init.appspot.com/tutorial/#create

When I create new contact, it redirects me to http://localhost:8912/contact/?order=-created But I do not see newly created contact there. I have to refresh browser to see it. How do I solve this problem? Thank you very much.

lipis commented 6 years ago

This is due to eventual consistency.. read more about it here: https://cloud.google.com/datastore/docs/articles/balancing-strong-and-eventual-consistency-with-google-cloud-datastore/

When deployed is not that noticeable.