You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As TM provides the functions of GM_setValue and GM_getValue, which we can leverage directly for cache storage in order to avoid 2nd network consuming that slows down the queries, the consideration should contain:
Store object-oriented instances that can be reversed by serialization
Expiration mechanism that gives the chance to the end-users to fetch the latest information
This API should be something like:
// milliseconds represents the valid period before meets the expiration datecache.set(key,obj,milliseconds)cache.get(key,default)
The text was updated successfully, but these errors were encountered:
As TM provides the functions of
GM_setValue
andGM_getValue
, which we can leverage directly for cache storage in order to avoid 2nd network consuming that slows down the queries, the consideration should contain:This API should be something like:
The text was updated successfully, but these errors were encountered: