Client caching strategies and test plan

Communication and development results:

 

Clients do caching purposes: to solve the loading speed under conditions of weak network problems.

1, static class loading data cache usually do, example: a list of data, etc.

2, not suitable for caching functions, example: the form, because the data has been changed, not suitable

 

The local cache is divided into: cache data to memory and CPU, the need for timely data is important in view of the generally CPU, the data is not timely view and most of the data will be stored in memory.

 

Test program:

  • Weak network loading prompt, whether there is a timeout mechanism
  • Network state test (functional test off network, local data storage), re-open the network to enter the page to see if a non-cached data pages.
  • Network Switch Testing (no network to multiple switching network state)
  • Interface Data exception in

Guess you like

Origin www.cnblogs.com/syw20170419/p/11498048.html