Optional
cacheOptional
defaultOptional
enablecheck if we need enable cache, default only GET
method orisGet: true
enable cache @error-cache-plugin
Optional
onfor logging purpose @error-cache-plugin
Optional
useif useCacheFirst: true
and have cache, will return the cache response first, then run fetching in the background @error-cache-plugin
max cache numbers in LRU, default is 100