📬 Small and efficient cache interceptor for axios. Etag, Cache-Control, TTL, HTTP headers and more!
MIT License
Bot releases are visible (Hide)
Published by arthurfiorette over 2 years ago
currentRequest
on each access to storages (#220) (Thanks @Warxcell)#228
#229
#227
currentRequest
on each access to storages (#220) #226
#225
#222
#215
#217
#218
#214
#213
#212
#211
#209
#210
#208
#207
#206
#205
#204
#203
#202
#201
#197
#199
#198
#196
#195
#194
#192
#193
#191
9e23648
7a1ff7b
8297fe2
639b284
55f9599
Full Changelog: https://github.com/arthurfiorette/axios-cache-interceptor/compare/v0.10.2...v0.10.3
Published by arthurfiorette over 2 years ago
TypeError: Cannot read property 'data' of undefined
bug.#187
#185
#186
#188
#183
#184
#182
#181
#180
#178
#175
#176
4e93728
f25bff6
b98f4b0
0a00778
b44c6b3
Full Changelog: https://github.com/arthurfiorette/axios-cache-interceptor/compare/v0.10.1...v0.10.2
Published by arthurfiorette over 2 years ago
This isn't something that you should really care. All these options should have been enabled by default. (unless you are using a cache library and wants to avoid correct caching behaviors 😁)
As this package was evoluting, new cache options and behaviours were introduced. To avoid possible "breaking changes" on every release, they were shipped disabled by default. But, the majority of users won't enable them because they don't know their existence and/or what they do.
etag
, staleIfError
, and interpretHeader
by default. (119fa32)v0.10.0
build setupFull Changelog: https://github.com/arthurfiorette/axios-cache-interceptor/compare/v0.9.3...v0.10.1
Published by arthurfiorette over 2 years ago
Published by arthurfiorette over 2 years ago
url
, baseURL
and method
being changed by buildKeyGenerator
. Thanks @Chandu (#161).defaultKeyGenerator
now hashes every object returned by his generator, except for number
and strings
.#162
#160
#158
#159
#157
2429ae2
a71f9aa
80850b9
06091a2
ab45164
Full Changelog: https://github.com/arthurfiorette/axios-cache-interceptor/compare/v0.9.2...v0.9.3
Published by arthurfiorette over 2 years ago
tinylibs
#156
#155
#154
Full Changelog: https://github.com/arthurfiorette/axios-cache-interceptor/compare/v0.9.1...v0.9.2
Published by arthurfiorette over 2 years ago
react-native
cli #153
#152
#150
#151
8b14a38
Full Changelog: https://github.com/arthurfiorette/axios-cache-interceptor/compare/v0.9.0...v0.9.1
Published by arthurfiorette over 2 years ago
Web storage handles Quota
and DOMException
errors (#148)
If you were using
buldWebStorage
, when upgrading tov0.9.0
, most likely all previous data saved will be lost.
But this is not a problem, as in the next request it will be fetched again.
(That's because the default prefix was changed from''
to'__ACI'
to avoid conflicts by default)
#148
#149
#147
9f4b400
89066df
683fdb2
71fbfab
Full Changelog: https://github.com/arthurfiorette/axios-cache-interceptor/compare/v0.8.10...v0.9.0
Published by arthurfiorette over 2 years ago
axios
from peerDependencies
. See #145#146
97c38ba
9d0d367
031934a
Full Changelog: https://github.com/arthurfiorette/axios-cache-interceptor/compare/v0.8.9...v0.8.10
Published by arthurfiorette over 2 years ago
Full Changelog: https://github.com/arthurfiorette/axios-cache-interceptor/compare/v0.8.8...v0.8.9
Published by arthurfiorette over 2 years ago
umd/es5
bundle still exists.v0.8.6
and v0.8.7
were shipped without code, thats why this jump from v0.8.5
to v0.8.8
.axios-cache-interceptor.js.org
documentationFull Changelog: https://github.com/arthurfiorette/axios-cache-interceptor/compare/v0.8.5...v0.8.8
Published by arthurfiorette over 2 years ago
debug
exclusive support. See more
Full Changelog: https://github.com/arthurfiorette/axios-cache-interceptor/compare/v0.8.4...v0.8.5
Published by arthurfiorette almost 3 years ago
0.25.0
.Stale If Error
optionssideEffects:false
in the package.json9922650
b555f95
66f29c9
2540c1e
93dda05
8273399
668ce0c
c5629be
0aed72f
staleIfError
support edb32bd
7217eaf
Object.freeze
at Header
enum 0e2508c
1e8ca38
Full Changelog: https://github.com/arthurfiorette/axios-cache-interceptor/compare/v0.8.3...v0.8.4
Published by arthurfiorette almost 3 years ago
6d9683a
cache-parser
and jest
16184ac
d51c622
Header
as const and renaming... e391f56
Full Changelog: https://github.com/arthurfiorette/axios-cache-interceptor/compare/v0.8.2...v0.8.3
Published by arthurfiorette almost 3 years ago
7f3a153
5a7e015
4c9c185
a981cf2
1ccfad3
3c8b373
ad51c23
9379fce
6f9ef36
fa2c6e3
Full Changelog: https://github.com/arthurfiorette/axios-cache-interceptor/compare/v0.8.1...v0.8.2
Published by arthurfiorette almost 3 years ago
ESM
& CJS
bundles #114
#113
#112
no-explicit-any
93df4fd
8243da5
typescript-eslint
monorepo 829b1a7
c76f2b7
ab53ac1
88d45cc
ff73ad5
e11e346
unknown
instead of any
d0b0e2f
return await
c3661a6
cachePredicate
38a5ecd
1b93070
57ee1e0
Full Changelog: https://github.com/arthurfiorette/axios-cache-interceptor/compare/v0.8.0...v0.8.1
Published by arthurfiorette almost 3 years ago
downLevelIteration
d30b862
2de68f3
SECURITY.md
a6313ea
baseURL
casing in examples & documentation 85336da
75ec6fd
733a476
f30e262
cd2f14c
isAxiosCacheInterceptor
function 37431a9
sourceMaps
again 17408aa
4f938a4
Full Changelog: https://github.com/arthurfiorette/axios-cache-interceptor/compare/v0.7.9...v0.8.0
Published by arthurfiorette almost 3 years ago
axios-cache-interceptor.js.org
#108
#107
#105
#106
#98
ed1e163
96e2d80
4c58316
225658f
7c19739
bf486ac
53c4d41
7207542
636ebb3
e34bfdd
06d9979
cache.update
example 766b016
3daf7be
cache: false
example 16600b0
c5de326
b11d51d
4c1e0ec
6353b48
f810365
bcc1f47
1f9ddb4
4cfa8d0
c32c452
1e87549
CacheUpdater
cfbd601
8d5a90e
ce2f597
b66ee1e
9e3c0f0
500ac71
567c1b2
c57916f
bafe1de
79ce192
defaultKeyGenerator
function c155982
e776f01
3c38985
a7751fd
Full Changelog: https://github.com/arthurfiorette/axios-cache-interceptor/compare/v0.7.9...v0.8.0-beta1
Published by arthurfiorette almost 3 years ago
#97
c6bec60
37a37b7
ec523e8
232e9c5
es-check
58b6b12
createCache
to useCache
4a0a99f
1e251dd
Full Changelog: https://github.com/arthurfiorette/axios-cache-interceptor/compare/v0.7.8...v0.7.9
Published by arthurfiorette almost 3 years ago
144d3ae
1b1b93b
5e04e5c
8cad803
Full Changelog: https://github.com/arthurfiorette/axios-cache-interceptor/compare/v0.7.7...v0.7.8