Cache in Android

Source: Internet
Author: User

Asimplecache

1. What can it cache?

  • Normal String,
  • Json
  • Serialized Java Objects
  • BYTE number.

2. Key Features

1: Light, light to only one Java file.
2: Configurable, can configure cache path, cache size, cache number, etc.
3: The cache timeout can be set, the cache time-out expires automatically, and is deleted.
4: Multi-process support.

3. What are the scenarios it can use in Android?
1: Replace Sharepreference as configuration file
2: Can cache network request data, for example, Oschina's Android client can cache the content of the HTTP request, the cache time is assumed to be 1 hours, after the timeout expires automatically, let the client re-request new data, reduce client traffic, and reduce the server concurrency.
3: You come and tell me

Cache in Android

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.