📬 Small and efficient cache interceptor for axios. Etag, Cache-Control, TTL, HTTP headers and more!
MIT License
Bot releases are hidden (Show)
Full Changelog: https://github.com/arthurfiorette/axios-cache-interceptor/compare/v1.5.3...v1.6.0
Published by arthurfiorette 5 months ago
Full Changelog: https://github.com/arthurfiorette/axios-cache-interceptor/compare/v1.5.2...v1.5.3
Published by arthurfiorette 6 months ago
Full Changelog: https://github.com/arthurfiorette/axios-cache-interceptor/compare/v1.5.1...v1.5.2
Published by arthurfiorette 9 months ago
esm
, cjs
and modern
bundles. Only cdn's bundle.js
will be minified from now on.Full Changelog: https://github.com/arthurfiorette/axios-cache-interceptor/compare/v1.5.0...v1.5.1
Published by arthurfiorette 9 months ago
transformResponse
running twice on cached requests by @amrendr-cb in https://github.com/arthurfiorette/axios-cache-interceptor/pull/775
Streams and non-JSON
section in the documentationFull Changelog: https://github.com/arthurfiorette/axios-cache-interceptor/compare/v1.4.1...v1.5.0
Published by arthurfiorette 10 months ago
setupCache
(#746).Full Changelog: https://github.com/arthurfiorette/axios-cache-interceptor/compare/v1.4.0...v1.4.1
Published by arthurfiorette 10 months ago
Full Changelog: https://github.com/arthurfiorette/axios-cache-interceptor/compare/v1.3.3...v1.4.0
Published by arthurfiorette 10 months ago
Full Changelog: https://github.com/arthurfiorette/axios-cache-interceptor/compare/v1.3.2...v1.3.3
Published by arthurfiorette 12 months ago
override
and hydrate
when applied globally (#694)Full Changelog: https://github.com/arthurfiorette/axios-cache-interceptor/compare/v1.3.1...v1.3.2
Published by arthurfiorette about 1 year ago
Full Changelog: https://github.com/arthurfiorette/axios-cache-interceptor/compare/v1.3.0...v1.3.1
Published by arthurfiorette about 1 year ago
cloneData: 'double'
to prevent property changes before cloning the result. Thanks @bhallionOhbibi (#581)Full Changelog: https://github.com/arthurfiorette/axios-cache-interceptor/compare/v1.2.0...v1.3.0
Published by arthurfiorette over 1 year ago
max-stale
on defaultHeaderInterpreter
(683dbe0)canStale
check for ttl
and staleTtl
(82182bf), previously a lot of cache was being evicted wrongly and more network requests were being made.Full Changelog: https://github.com/arthurfiorette/axios-cache-interceptor/compare/v1.1.1...v1.1.2
Published by arthurfiorette over 1 year ago
headerInterpreter
documentation, thanks @afurculita (#542)Full Changelog: https://github.com/arthurfiorette/axios-cache-interceptor/compare/v1.1.0...v1.1.1
Published by arthurfiorette over 1 year ago
staleIfError
using stale-if-error
directive (#506) (Thanks @gmazoni)stale-while-revalidate
(#514) (Suuuper thanks @richardgarnier)cachePredicate
following RFC 7231 (174ea35)cleanupInterval
on memory storage to avoid memory leaks (72de39c)Published by arthurfiorette over 1 year ago
^v1.3.1
Full Changelog: https://github.com/arthurfiorette/axios-cache-interceptor/compare/v1.0.0...v1.0.1
Published by arthurfiorette almost 2 years ago
cacheTakeover
option to prevent browser cache layers (#437)#429
#425
#368
9c90644
0e97446
9683de5
13529b9
1c024f4
9780d13
79ac027
db41b7c
b6b9fc9
232bb7d
b4ab156
5562819
7d82c5a
f842c36
64222ec
c7b6604
09a0082
04d95f4
00fdff0
67819a3
491fb01
Full Changelog: https://github.com/arthurfiorette/axios-cache-interceptor/compare/v0.10.7...v1.0.0
Published by arthurfiorette about 2 years ago
#304
#307
#306
#305
#302
#303
#300
#301
#298
#297
#299
#295
#294
#293
#292
#291
#289
#290
#288
#287
#286
#285
#284
c733dbd
Full Changelog: https://github.com/arthurfiorette/axios-cache-interceptor/compare/v0.10.6...v0.10.7
Published by arthurfiorette over 2 years ago
#283
#282
#280
#281
#278
#276
#275
#274
#271
#272
#273
#270
#269
#266
#265
#268
#267
#264
Full Changelog: https://github.com/arthurfiorette/axios-cache-interceptor/compare/v0.10.5...v0.10.6
Published by arthurfiorette over 2 years ago
cache.override
option to ignore cache checks and force a new request (#256). (Thanks @domdomegg)X-Axios-Cache...
server sent headers.#261
#263
#260
#262
#257
#258
#259
33398ce
e8cb692
dfe1595
67bad37
8c94ef9
338c9a6
268fccb
d87307a
Full Changelog: https://github.com/arthurfiorette/axios-cache-interceptor/compare/v0.10.4...v0.10.5
Published by arthurfiorette over 2 years ago
Axios v1.0 is still in beta, I'll wait for it's first stable release to make axios-cache-interceptor v1 compatible.
max-age=0
Cache-Control header is now correctly interpreted (#253). (Thanks @heiko-r).#255
#254
#252
max-age=0
as a valid cache-control
header #253
#250
#251
#249
#246
#247
#248
#245
#243
#242
#241
#238
#234
#237
#235
#236
#231
#230
#232
f4f4be1
6b1a1c5
77adcaf
e97a515
2fc2c17
6bcd7dc
5cb76aa
b6302ef
623ae22
Full Changelog: https://github.com/arthurfiorette/axios-cache-interceptor/compare/v0.10.3...v0.10.4