An example best illustrates this situation. Consider that the user’s list of addresses has been cached, and the user adds a new address. The cached list of addresses is now stale and should be invalidated. To be assured of the correct behavior, the relevant cache is cleared before the request is made (which will cause the cache to be invalid), and after its callback is triggered.


Copyright © 1997, 2016 Oracle and/or its affiliates. All rights reserved. Legal Notices