gateway系統在接到Metada請求時, 首先會檢查自己的 cache table看裡面是否有cached的model資料:

接下來gateway會把這個從frontend端cache table裡讀出來的model的change timestamp和背景的timestamp做比較:
就是frontend這張表裡的資料: /IWFND/I_MED_CTC. application第一次運作時,frontend的cache table必定是空的,第一次metadata請求完之後,從背景傳回的model資料就存在這張表裡。
如果背景MPC_EXT的lv_last_modified和frontend傳進來的cached model的last change timestamp一緻,就認為model是最新的,不用發送。
否則認為cache應該發送:
如果cache_timestamp 為空,證明frontend系統沒有enable cache,這種情況下不需要發送cache model到frontend。