caching

TwitterFacebook
Get flash to fully experience Pearltrees

File System vs Core Data: the image cache test

Code for this project is on GitHub While doing a full re-write of Droplr 's iOS app for the 2.0 launch, I couldn't find any good file/image caches out there had a particular feature I really wanted: extending item expiration whenever it's touched. I set out to write my own — which wasn't that much of a challenge — but somewhere along the process I had this crazy idea that perhaps (SQLite-backed) Core Data would be a much better tool for the job: No mismatch between cache index file and actual data stored; Trivial querying; Nice and easy object oriented code. Being a structured data store with Object-Relational Mapping, it's only logical that it would be slower. http://biasedbit.com/filesystem-vs-coredata-image-cache/
http://allseeing-i.com/ASIHTTPRequest/How-to-use#using_a_download_cache Creating and running requests Creating a synchronous request The simplest way to use ASIHTTPRequest.

ASIHTTPRequest example code - All-Seeing Interactive

ASIWebPageRequest - a new class for downloading complete webpages - All-Seeing Interactive

http://allseeing-i.com/ASIWebPageRequest-a-new-class-for-downloading-complete-webpages Saturday 3 July 2010 ASIWebPageRequest is a new experimental addition to the ASIHTTPRequest family. It can be used to download a complete webpage, including external resources like images and stylesheets, in a single request. Once a web page is downloaded, the request will parse the content, look for external resources, download them, and insert them directly into the html source using Data URIS . You can then take the response and put it directly into a UIWebView / WebView on Mac.
This article, co-written by Wayne Shea, is the fifth in a series of articles describing experiments conducted to learn more about optimizing web page performance ( Part 1 , Part 2 , Part 3 , Part 4 ). You may be wondering why you’re reading a performance article on the YUI Blog. It turns out that most of web page performance is affected by front-end engineering, that is, the user interface design and development. At MacWorld 2008 , Steve Jobs announced that Apple sold 4 million iPhones to date, that’s 20,000 iPhones sold every day. Net Applications reports that total web browsing on iPhone is up at 0.12% for December 2007, topping the web browsing on all Windows Mobile devices combined. Apple’s iPhone has changed the game for many users browsing the web on a mobile device. http://www.yuiblog.com/blog/2008/02/06/iphone-cacheability/

Performance Research, Part 5: iPhone Cacheability – Making it Stick