Is there a limit to how much data I should cache in browser memory?

后端 未结 4 580
盖世英雄少女心
盖世英雄少女心 2021-01-27 02:50

I need to load a couple thousand records of user data (user contacts in a contact-management system, to be precise) from a REST service and run a seach on them. Unfortunately, t

4条回答
  •  星月不相逢
    2021-01-27 03:22

    Storing several megs of Javascript data should cause no problems. Memory leaks will. Think about how much RAM modern computers have - a few megabytes is a molecule in the drop in the proverbial bucket.

提交回复
热议问题