Jambi
unread,Nov 10, 2012, 12:27:57 PM11/10/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-we...@googlegroups.com
Hey Guys,
I´m running into a strange caching issue. I have two modules. One admin module and one user module. In my admin module I can add an entity and persist it to the GAE datastore (via objectify). Everything works fine there. In my user module I have two activites: one for showing a list of those entities and one entitiy-detail activity. When I change one of those entities in the admin module all changes are showed in the entity-list activity. But when I switch to the detail view of the entity, it shows an old version. No matter how many times I hit refresh. Datastore looks fine and I don´t use memcache at this point. The list and detail activity are using the same service interface/server side servlet. It´s really weird. I checked the payload - it´s always the first response of a request after redeploying or restarting the server (yes - changes appear after restarting the app).
I don´t get it. The admin module is using a different service but the method for fetching a single entity is the same as in the user-end service. Changes appear there immediately. I´m not even sure if this is a GWT issue because in every browser I try to fetch the entity, the same (old) entity gets fetched again. So it must be a GAE issue. But maybe one of you guys have some advice.
Thanks,
Michael