The invention provides a method for improving a cache hit strategy and a response speed, and relates to the technical field of
cache management policies, the method comprises the following steps: monitoring the use state of a cache in real time, obtaining a
cache hit rate, a
cache capacity and a data validity index, and generating a real-time monitoring report of the use state of the cache; according to the real-time monitoring report of the cache use state, a
cache management strategy is determined from a preset strategy
library, and cache data updating is triggered; and when a
data request is received, adjusting cache data according to a
cache management strategy, including replacing old data and updating
data layout, and recording a final access
record and a cache state. According to the method, the
cache hit rate and the response speed are improved by monitoring the cache state in real time, intelligently selecting the cache strategy, optimizing
data access and prefetching, concurrent
processing and dynamically adjusting the
cache hierarchy, so that the overall performance of the computer is enhanced.