PDA

View Full Version : Caching in lua ?



erland
2009-09-24, 12:25
How should an applet that retrieves information from Internet cache things ?

Unless I've interpreted the code incorrectly it seems like album covers are cached in memory and not persistently. Is this the way to do it or is there a standard way to cache images I retrieve from Internet persistently on Controller/Touch/Radio ?

andyg
2009-09-24, 12:35
You probably want to use the imageproxy service on SN. It will cache as well as resize for you with much higher quality than you get with SDL. On-device caching is probably something we will want to look at in the Touch timeframe.