How long is the cache appropriate? How to solve it

Source: Internet
Author: User
How long is the cache appropriate?
For example, Memcache, the cache period of data does not change, such as 30 minutes, this is not good, but the cache time set small meaning is not big, such as 30 seconds, cache this thing, in the end to set how long to be good?

------Solution--------------------
Caching this thing, in short, is, as much as possible in the case of capacity permitting, the longer the actual data does not change, the better.

I don't know if that's the answer to your question, hehe.


――――――――――――――――――――――――――――――――
Based on the plugin extension function provided by CSDN forum, I have made a signature file tool to share with you, welcome technical exchange:)
------Solution--------------------
See need. Some 1 days do not change 1 times, can be buffered for 1 days.
  • 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.