memcached expiration time

前端 未结 8 1970
面向向阳花
面向向阳花 2020-12-29 08:46

Memcached provides a cache expiration time option, which specifies how long objects are retained in the cache. Assuming all writes are through the cache I f

8条回答
  •  南方客
    南方客 (楼主)
    2020-12-29 09:33

    Some data in cache is expensive to create but small (should last a long time) and some is large but relatively cheap (should last a shorter time)

    Also, for most applications it is hard to make memcached work as a write through cache. It is difficult to properly invalidate all caches, especially those of rendered pages. Most users will miss a couple.

提交回复
热议问题