摘要 |
A data caching method and a computer program product used in a cache system where a data replacing parameter is used for a data replacement rule, are provided to assist determining whether a use data has to be replaced or not. The data caching method and the computer program product rely on the cache system to determine whether to replace the use data when the resource consumed in fetching the use data is lower than a predetermined level. However, when the resource consumed in fetching the use data is higher or equal to the predetermined level, the value of the data replacing parameter mentioned above is replaced within a predetermined period, such that the use data could be maintained in the cache system.
|