JingDong: When it render the “search result” page ,(every item has the picture) ,it will buffer all the pictures in the SD card to accelerate the display .

Tested from Kevin’s emulator, we can see ,that all the images that requested are downloaded into mnt/sdcard/image folder.


We open it with image tool ,and see that the images are exactly the same that we see from the android client.

So next time ,if we want to see the previous item ,we do not need to launch the REST call again ( because it is very slow for 1G /2G network) ,instead ,it only retrieved from the SDCard locally ,which leads to a faster speed.



Result analysis:

Advantage: obviously reduce the times to send REST request to server and reduce the network traffic.

Disadvantage: we need to clear the temp contents (buffered images ,etc) regularly.