Discuz x 1.5 cache update

Source: Internet
Author: User

Introduction: This is a detailed page for discuz x 1.5 cache update. It introduces PHP, related knowledge, skills, experience, and some PHP source code.

Class = 'pingjiaf' frameborder = '0' src = 'HTTP: // biancheng.dnbc?info/pingjia.php? Id = 325724 'rolling = 'no'>
Previous ArticleArticleHttp://policyuxiong.javaeye.com/admin/blogs/941843:

Dzx retrieves data from the common_syscache table, stores the obtained data in the cache, and caches the data as needed.

I studied it again today and found that dzx has saved the cached data in the large global variable $ _ g.

Another example is about cache update of dzx.

Dzx uses the updatecache function of source \ function \ function_cache.php to update the cache. It introduces the corresponding files under source \ function \ cache according to the cache project to be updated specified in the function parameters, only one function whose name starts with build_cache _ is defined, and then call_user_func is used to call these functions.

Every build_cache _ *** function uses the save_syscache method to save the data in the common_syscache table.

"Discuz x 1.5 cache Update"

Love J2EE follow Java Michael Jackson video station JSON online tools

Http://biancheng.dnbcw.info/php/325724.html pageno: 14

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.