search

Home  >  Q&A  >  body text

php - How to implement caching in ci3.0?

I want to implement database data in ci3.0. After I cached it according to the ci manual, the page effect is still average. Is there any better caching method?

曾经蜡笔没有小新曾经蜡笔没有小新2741 days ago882

reply all(1)I'll reply

  • 阿神

    阿神2017-07-05 10:48:03

    Is this the database cache class you are using now? This does have limited effect.

    The best way is to manually use the cache driver to cache according to business needs. In addition, using Redis, Memcached and other memory caches will also have better effects.

    In short, this is a big topic and requires specific treatment of specific issues.

    reply
    0
  • Cancelreply