What does it mean by cold cache and warm cache concept?

前端 未结 5 937
广开言路
广开言路 2020-12-04 17:33

I read a paper and it used terms cold cache and warm cache. I googled about this terms but I didn\'t find something useful (only a thread h

5条回答
  •  遥遥无期
    2020-12-04 18:01

    There is a similar concept in Frontend Web development, almost all the good js frontend framework does WarmCaching these days.

    Cold Cache: Frontend app calls backend server for the first time.

    Warm Cache: After the frontend fetches the data for the first time it saves it in its local cache. So the next time it tries to call the backend it fetches the item from its local cache.

    reference: Caching Data in frontend

提交回复
热议问题