so my code do just basic flow when edit a record in cb.
1. find the data with the id.
2. set the new data from the returned data.
3. save the data
let say a phone table with name field. i edit the name.
>A = boss_db:find("phone-1").
>U = A:set(name, "Donald").
This should return the updated record with Donald as name.
But in the code, the name is updated after the cache expired. i set the cache to 60s by the way, whichi default in CB. cache using memcached in debian.
This also happend on a list of records. When 1 udpated, the list not updated when returned from cb.
what i m trying to do was do the cache should invalidate by the expired time or on update / change on the model / records.
i assume the cache invalidation should works without trigger anything.