Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 546629
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T10:53:14+00:00 2026-05-13T10:53:14+00:00

For a simple rss reader, I am storing the results of queries in a

  • 0

For a simple rss reader, I am storing the results of queries in a client side (google gears) database.

So, myapp.php?query=xyz is stored in one column, and the result xml is stored in the next column.

Then, when myapp.php?query=xyz is requested, I first attempt to load from the cached content in the second column.

I need to figure out when I should replace/refresh/overide that cached content with content from the server.

I also need to figure out when to update the displayed data.

Should I replace the cache in the background, after displaying the cached content, and then the user sees it next time they navigate to that screen?

Should I show the cached content and then replace the content “before their eyes” when the server returns new data?

What is the appropriate point to 1) replace the cache with new data 2) update the displayed data

Any help would be greatly appreciated!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T10:53:14+00:00Added an answer on May 13, 2026 at 10:53 am

    Also store the file time stamp (or last time changed stamp) in a 3rd column of the database table. When you detect the origin time is different then grab a new copy.
    Likewise you could do it with data size or some other kind of detection mechanism that fits your content.

    It’s unusual to replace info a lot ‘before the eyes’ on the web, unless there’s a need for real-time data. But a web app might not be the best choice for real time data because of its request-response stateless model. You’ll certainly use a lot more bandwidth to refresh it continually before their eyes.

    It depends on the requirements of the app.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am creating a simple RSS reader which displays headlines in ListView, downloading it
I have implemented a simple RSS reader in Java. I hit a URL and
I am new with Scala and I am writing a simple rss reader. I
I am building a simple rss reader app for Windows 8 in C# and
I'm trying to create a simple RSS reader with Phonegap and jQuery. I am
I am using this http://imthi.com/blog/programming/iphone-rss-reader-application-with-source-code.php as a start for my rss reader in my
I'm trying to put together a simple RSS reader, and found code on http://www.ibm.com/developerworks/opensource/library/x-android/
i write a simple Rss Feed reader now i have this problem, in the
I'm making a simple rss reader for the iPhone. The feed ( http://feeds.feedburner.com/foksuk/gLTI )
I'm developing a wp7 app, It's a simple rss reader. I'm able to recuperate

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.