javaandroidcachingsquidjcs

Android cache Web response


I'm developing an application where I need to cache the response from urls the user visits. So is there a good caching system like jcs available already? Or a port of squid for java(android java) would do. Do I need to write my own caching system?


Solution

  • JCS and Squid are probably too heavyweight for what you need. If you are just caching some text, I would think a simple map based approach would work for you. If you need to persist this data, a database or file would probably work better.