objective c - Store & retrieve data from cache in Iphone -
i have app in want store pages (in webview) navigated once in cache(iphone).
so if same page accessed again should come cache & not server.
if new page accessed come server.
any help/tutorial/suggestion(with sample code) please.
the behavior you're looking happens default, assuming cache headers set correctly on server side. then, though, size of cache quite limited.
you can take @ this post on creating custom cache uiwebview. isn't you're looking for, give need create own cache works regardless of cache headers server say, , more generous size.
Comments
Post a Comment