Home > Back-end >  Associated with the user a list of how the data cache?
Associated with the user a list of how the data cache?

Time:10-18

Such as an interface for all courses, every item must have "whether the user has entered for" field, if you want to add the cache, if can only use userid: the key to save? If so, once there is a course of state changes (courses include: to start, has started, has ended a few state), I'm going to clear all user cache?

What method is there?

CodePudding user response:

This data needs to be done?

CodePudding user response:

reference 1st floor maradona1984 response:
this data needs to be done?

Finally someone reply , if course list items under the condition of data more want to consider to add the cache? But each item is to have a sign of whether users have to sign up, I just wonder if such a scenario should be a lot of? This data is can't do the cache is? (or add cache maintenance cost is too high?

CodePudding user response:

q: Lin snail refer to 2 floor response:
Quote: refer to 1st floor maradona1984 response:

This data needs to be done?

Finally someone reply , if course list items under the condition of data more want to consider to add the cache? But each item is to have a sign of whether users have to sign up, I just wonder if such a scenario should be a lot of? This data is can't do the cache is? (or add cache maintenance cost is too high?

Don't know your requirements, general this kind of direct database would be how much a cost? Maintain the cache is also a big hassle
  • Related