Zend how to use cache component

前端 未结 4 1476
眼角桃花
眼角桃花 2020-12-29 17:04

Let\'s say you have this scenario:a simple blog home-page that loads both static content as well as dynamic content. The static content is composed of images that rarely cha

4条回答
  •  臣服心动
    2020-12-29 17:49

    A simple cache is one that times out after the defined period of time. This keeps the caching layer simple and easy to implement. The Zend Manual has more information on caching basics.

    However real-time information and cached information are two worlds. If you need real-time, don't cache.

    If you make the caching layer too complex, you can destroy your whole application.

提交回复
热议问题