Data caching method, device and equipment and readable storage medium

The embodiment of the invention provides a data caching method, device and equipment and a readable storage medium, and the method comprises the steps: obtaining the caching time of an interface, wherein the caching time of the interface is the storage time of data accessed by calling the interface...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: LI LIUQIANG
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The embodiment of the invention provides a data caching method, device and equipment and a readable storage medium, and the method comprises the steps: obtaining the caching time of an interface, wherein the caching time of the interface is the storage time of data accessed by calling the interface in a cache; updating the caching time of the interface in response to the invalidation of the caching data, wherein the cache data is obtained by writing the data accessed by the interface into the cache; and writing the data into the cache by taking the updated caching time of the interface as thestorage time of the data in response to the interface accessing the data. It can be understood that the invalidation of the cache data is at least related to the timeliness of the data, so that the data caching method provided by the embodiment of the invention can adaptively adjust the caching time of the interface according to the invalidation of the cache data, so that the caching time of the interface is related to th