The present application relates to the field of data caching technology, and specifically to a method and
system for caching data on a mobile
game server, the method comprising: obtaining the data to be cached requested by the user at the current moment, and the request time, number of requests and request method of each user in the
cache server at the current moment for each piece of data, as well as the data tag type of each piece of data in the
cache server, including private data and public data; determining the importance,
risk level, memory difference, and
elimination priority of each piece of data in the
cache server at the current moment; determining the user identification and criticality of each piece of private data; determining the user preference for each piece of data in the cache
server at the current moment; determining the
elimination value of each piece of data in the cache
server at the current moment, and performing
elimination management on the data in the cache
server. The present application can improve the
processing efficiency of cached data, reduce the time for users to request data, and enhance the user's gaming experience.