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
233 views Asked by Paresh Masani At
1
There are 1 answers
Related Questions in IPHONE
- How to control the volume of an iPhone programmatically in objective-c
- my website crash on safari The site sometimes crashes and I can't recover the crash
- Postal Framework crash in iPhone but runs successfully in simulator
- Xcode 15 building failure when using iphone 15 as simulator, using ios 17
- Images uploaded via Active Storage not displaying in Active Admin or on certain devices
- Any problem with creating provisioning profile with old Iphone?
- Does anyone know how to make iPad layout the same as iPhone's? Size wise the text and overall layout get's smaller when I run the app on the iPad
- Keyboard not appearing when connecting smart card reader to iPhones with type-c port. i.e. iPhone 15/ 15 pro
- Access the list of SIM mobile numbers installed in the iPhone
- Can we produce haptics and record from microphone the haptic sound at the same time on iOS?
- SwiftUI's localized string do not load from main bundle despite using the main bundle identifier (an xcode bug?)
- Cordova iOS only app upload through transport requires WKWatchKitApp
- Amazon s3 video is not played on Iphone
- build getting failed for ios xcode build -flutter app
- "Error when Importing 'mysdk' into iOS Demo App: dyld Library not loaded: @rpath/MQTTClient.framework/MQTTClient"
Related Questions in PLIST
- ITMS-91053: Missing API declaration - Privacy
- how to install IPA file with itms-services?
- 'GADInvalidInitializationException', reason: 'The Google Mobile Ads SDK was initialized without an application ID
- AppleScript. Probably unjustified complication of syntax. iTunes play count import from xml
- XCode/Flutter: How do I fix "ExportOptions.plist" is invalid error when trying to export my app?
- React Native Expo: Google analitics - unable to get ios to work properly
- MongoDB via Brew Services "undefined method `plist_startup'"
- Make a login/logout script in mac
- Does PropertyListEncoder no longer support binary property list encoding?
- I want to open the textures in the png file of a game that has plist and ExportJson files, but I couldn't do it
- React Native Build Phase Failing in Xcode15 when writing Info.plist
- Impossible to parse result for await itemProvider.loadItem for URL
- How can I make plist content programatically?
- MacOS Launchd move files plist in Ventura not working
- Generation of the Firebase Android resource file google-services.xml from Assets/GoogleService-Info.plist failed
Related Questions in ASIHTTPREQUEST
- How to get current iis website name in ConfigureService() method in startup class in AspCore 2?
- ASIHTTPREQUEST not working as expected in iOS 8.3
- How to download public-shared file from Google Drive (without Drive API) using Objective C
- ASIForDataRequest request fails
- NSURLSessionDownloadTask progress callback is not smoothly?
- ASIHTTP JavacriptCore WTFCrash
- iOS: ASIHTTPRequest validate self sign certificate
- Any current replacement for ASIHTTPRequest for HTTPS request and REST-based services
- Does ASIHttpRequest support IPv6-only?
- Error Domain=ASIHTTPRequestErrorDomain Code=1 under 4G network
- How to store audio file in sqlite database in iOS
- Using TextField for setProxyHost and setProxyPort in Swift
- ASIHTTPRequest Disables Touch Events on Multiple Requests
- How to download multiple audio file at same time with progress bar even if app is in background in ios
- Asihttp requests not working in ios9
Related Questions in FETCHING-STRATEGY
- Plot data from multiple APIs onto single chart
- Fetching data from api and render it takes too much time
- Initially fetching data from a repository with flutter cubit
- How to fetch data in server-side component
- Auto population in comboBoxes in CSharp
- Is there any Way to fetch API with Static IP Address
- What is the correct way of loading some data from database in Flutter?
- How to read a MySQL table every 1 -10 seconds within a Flutter app?
- Efficiently load chat log
- Why use QueryClient.prefetchQuery instead of useQuery for caching in react-query?
- Fetching image from Supabase storage through database table returns undefined URL
- Fetching from Firestore URL shows 404 - URL not right?
- Scheduled data fetching from a number of endpoints using Python
- How to filter out unique tags and store in an array from object given below using hooks
- Fetching API data, nested in two arrays and displaying it with React
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?
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)
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.