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

  • Home
  • SEARCH
  • 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 865491
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T09:38:54+00:00 2026-05-15T09:38:54+00:00

I want to cache my loaded data so that I can reduce my application

  • 0

I want to cache my loaded data so that I can reduce my application start time .

I know several strategies to store application data

i.e. core data, nsuserdefaults , archiving .

Now my scenario is that suppose that I have array of maximum 10 objects each object having 5 fields .

So I can not decide which strategy to store this array an later retrieving the same .

Thanks .

  • 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-15T09:38:54+00:00Added an answer on May 15, 2026 at 9:38 am

    Never store cache data in NSUserDefaults; that is not what it is for.

    Archiving is expensive and should not be used. It is also far more difficult to manage.

    Core Data is almost always the right answer unless the data storage is trivial.

    Update

    Archiving, also known as serializing is one of the most expensive ways to write data to disk compared to other formats. The exact details are difficult to explain in an answer here but it boils down to an old design that does not perform nearly as well as the more modern persistence systems such as Core Data. Putting the two side by side you will see significant performance increases (due to internal threading, caching, database support on the backend, etc.) when using Core Data.

    The fact that Core Data also handles your data model life cycle and structure is just gravy on top of that performance increase.

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

Sidebar

Related Questions

In my application I want to cache data loaded with NHibernate. I don't want
How can I cache variables in ASP.NET on page level? That is, I want
I want to cache query results so that the same results are fetched for
I want to cache data from a json-webservice in my android app. The first
Preface : In my application, I store raw WAV data in the database as
I have a bookmarklet that keeps using cache versions of http://www.imvu-e.com/products/hpv/download/HPV.js . I want
I'm trying to use hibernate to build up a local cache of data that
I have a Rails app (running 3.2.2) and I want to cache my users'
I am using XSLT 1.0 and C# 2.0. and I want to cache my
Currently ASP.NET MVC's OutputCache attribute has a huge downfall. If you want to cache

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.