Commit graph

11 commits

Author SHA1 Message Date
Alex Thirlwall
c5ffe9cffc feat: Allow getCacheIdentifier cache option to be an asynchronous function 2024-05-07 14:32:05 +02:00
Alex Thirlwall
df8bf58f03 If session cache Id changes, reset the cache and pending requests 2024-05-07 11:54:14 +02:00
Henk vd Brink
04d08683f7
@lion/ajax: only add XSRF token on mutable requests and on same origin or whitelisted origins 2024-02-29 15:05:58 +01:00
thepassle
1565bc81ca fix: relax content types when setting cache 2022-11-07 12:42:39 +01:00
Thomas Allmer
c1982965c3 feat: introduce wireit and ts use node16 resolution 2022-11-07 11:39:40 +01:00
Martin Pool
447383bd14 feat(ajax): add maxCacheSize option 2022-05-30 12:58:18 +02:00
Martin Pool
558edcb686 feat(ajax): add a maxResponseSize cache option to specify a max size for responses to be cached 2022-05-09 17:12:51 +02:00
Martin Pool
efcdf653a4 feat: content-type filter for ajax cache 2022-05-09 12:39:49 +02:00
Martin Pool
56af96f1da feat(ajax): add an option to initialize the cache interceptors even when useCache is turned off in the global options 2022-05-09 10:09:43 +02:00
Ahmet Yesil
879598506a Race condition fix for on the fly requests, improve cache implementation and tests
Co-authored-by: Goffert van Gool <ruphin@ruphin.net>
Co-authored-by: Martin Pool <martin.pool@ing.com>
2021-09-21 13:59:08 +02:00
Goffert van Gool
73d4e222f6
Update public API of ajax & refactor package (#1371)
feat(ajax): align / break public API

Co-authored-by: Ahmet Yesil <yesil.ahmet@ing.com>
2021-05-12 15:21:18 +02:00