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?
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.
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.