I have implemented an iPhone App that has FanWall in it where users are allowed to put their comments on FanWall screen and other users can comment on their comment or add new comments. It works fine but very slow as every time FanWall screen loads I get the top 25 comments(I have a load more button to load next 25 comments..) including images, comments and other properties from Server as a Zip file. iPhone App then parses this zip file's plist file to arrange comments and images in Fanwall screen. I do this every time as I need to download any new comments and comments on comment or any changes that have been made to existing plist file! Hope I am clear here! Could anyone please throw their thoughts on optimal fetching strategy please. Thanks.
iPhone: Algorithm for fetching required data and images from server only once
229 Views Asked by Paresh Masani At
1
There are 1 best solutions below
Related Questions in IPHONE
- UIWebView Screen Fitting Issue
- ios responsive design not working (too wide in portrait orientation)
- Setting View orientation to portrait is ignored
- How do I add custom cells to TableView in Swift?
- UIWebView not loading URL in simulator
- What is the limit for number of subscribers to a stream(publisher's) in opentok/tokbox iOS SDK?
- How to generate request format for WCF web service method for Mac and iPhone
- Difference between gethostname() and [NSProcessInfo hostName]?
- How to force close ipad/iphone keypad when input element is not focused using JS?
- iOS app rejected because of in-app purchase
- iOS coordinates for iPad and iPhone game using spritekit
- What is the best practice when making a storyboard for iPhone and iPad?
- Labels properties changing in Xcode
- Terminating app due to uncaught exception
- Exchange plist data between 2 iPad using iCloud
Related Questions in PLIST
- How to define Uniforme Type Identifier in plist to add my iOS app option in share action sheet?
- Swift Filled plist is empty next time I open up the application
- execute application mac os yosemite 10.10.3 when plugged in usb
- plist data after an update
- Getting CFBundleVersion from within Jenkins to use it as a variable, something like ${APP_VERSION}
- Adding new items to plist programmatically
- PEPhotoCropEditor Archive Submission Errors
- When trying to Install application remotely into an iPhone through mdm .mobileconfig file, returns "invalid profile" error
- How to make a dictionary of dictionaries in JSON?
- Swift / Xcode 6 - info.plist error
- how to add multiple arrays in plist file programmatically in iPhone
- how to check IOS devices supported by my IPA file
- Speed up code to run through plist
- Unexpectedly found nil while unwrapping an Optional value - Plist
- Enabling R Markdown syntax highlighting in TextWrangler/BBEdit
Related Questions in ASIHTTPREQUEST
- ASIHTTP JavacriptCore WTFCrash
- 'kCFStreamSSLAllowsExpiredCertificates' and 'kCFStreamSSLAllowsAnyRoot' is deprecated
- Add user information in request
- ASIHTTPRequest vs NSHTTPCookie Cookie response issue
- ASIFormDataRequest upload progress is not accurate
- How to use Asihttprequest asynchronous requests server?
- Posting data to server to get response
- AFNetworking simultaneous requests
- how to check NSDictionary key value is null?
- ASIHttpRequest not passing data
- iOS how to throttle ASIHTTPRequest number of simultaneous connections?
- IOS - Same ASIHTTPRequest code doesn't work only one method
- AsihttpRequest didfinishselector decompression error iOS
- ASIHTTPRequest Cache response data
- ASIHTTPRequest + SBJSon iphone
Related Questions in FETCHING-STRATEGY
- Can I change the Fetch Mode in a Resultset from a DatabaseMetaData query?
- Algorithm of most relevant wall posts
- Hql Fetch: Condition on the right table
- iPhone: Algorithm for fetching required data and images from server only once
- Some queries regarding fetch strategies in hibernate and relation of fetchtype with fetchmode?
- How to fetch data in server-side component
- Initially fetching data from a repository with flutter cubit
- Fetching data from api and render it takes too much time
- Get eagerly collection of entities containing other eagerly got collections
- What is a Fetching Strategy?
- Force an eager select in NHibernate
- In React, fetch data conditional on results of an initial fetch
- Why use QueryClient.prefetchQuery instead of useQuery for caching in react-query?
- How to fetch a message with the ID, without having it in cache
- Scheduled data fetching from a number of endpoints using Python
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
A way to make it faster is to tell the server exactly what you need to download.
Example: please send me the comments added between 2012-01-01 and 2012-01-03.
Pull the rest from a local cache.