PHP Performance Research --cache (2)

zhaozj2021-02-16  96

2, cache, running results

Another advantage of MMCache is to control the results of the output Cache. Of course, I am not here to try to take MMCache. MMCache also has its fatal weaknesses. There is no application for sites that have changed significantly to the results. For example, the site of the community class, it may be different in the interface you see each user, at least in a certain angle, there will be "xxxx Hello" similar words. But the site for the information release class is satisfactory. It is best to do such a mechanism for the results of the results, such as the WHERE .... LIMIT ... for database operations as a Key value. Controlable to some of the results that the resource loss is large, or may be the result of local operations for Cache. It's just about cache. It's too many mother-in-law who say more, I'm too mother-in-law :)

转载请注明原文地址:https://www.9cbs.com/read-13863.html

New Post(0)