GAE / GWT RPC caching issue

36 views
Skip to first unread message

Jambi

unread,
Nov 10, 2012, 12:31:24 PM11/10/12
to google-a...@googlegroups.com
Hey Guys,

I´m running into a strange caching issue. I have two GWT 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 guess it must be an GAE issue because in every browser I try to fetch the entity, the same (old) entity gets fetched again. Any ideas?

Thanks,

Michael
Reply all
Reply to author
Forward
0 new messages