Edwin Veldhuizen
|
6cba59cc1c
|
[must-revalidate] properly revalidate based on eTag (#824)
* [must-revalidate] implement logic to properly revalidate requests with must-revalidate cache-control header
* [lint] fix sorting of imports
* [pull 824] apply feedback
---------
Co-authored-by: Edwin Veldhuizen <edwin@pxr.nl>
|
2024-04-23 13:06:04 -03:00 |
|
Arthur Fiorette
|
ed99d775bb
|
feat: correct ESM and CJS support, move to microbundle. (#764)
|
2024-01-18 23:48:33 -03:00 |
|
Arthur Fiorette
|
ecbc27e466
|
style: linted code
|
2023-11-16 03:26:37 -03:00 |
|
Denis Rossati
|
0199ad6b97
|
feat: turn most types into interfaces (#615)
* Turn most types into interfaces
* Turn 'CacheAxiosResponse' into a interface
* Update docs
* Change docs to be more didactic
|
2023-07-30 00:22:16 -03:00 |
|
arthurfiorette
|
82182bf7f8
|
fix: correct canStale checks (#543)
|
2023-06-09 13:10:06 -03:00 |
|
arthurfiorette
|
22870d7d72
|
fix: canStale should return false if Cache-Control: must-revalidate is present #507
|
2023-04-09 12:51:52 -03:00 |
|
arthurfiorette
|
72de39c4d3
|
feat: memory storage cleanup
|
2023-03-19 19:30:19 -03:00 |
|
Richard Garnier
|
2ae4d28878
|
fix: Support stale-while-revalidate (#514)
* implement stale-while-revalidate
* Backward compatibility
* Fix review comments
* chore: isExpired check comment
---------
Co-authored-by: Arthur Fiorette <github@arthur.place>
|
2023-03-19 16:54:24 -03:00 |
|
arthurfiorette
|
d6b41e802f
|
feat: incresed tsdoc documentation a lot
|
2023-02-17 13:16:06 -03:00 |
|
Arthur Fiorette
|
88c9655ba3
|
Axios cache interceptor v1 roadmap (#368)
* chore(deps-dev): bump axios from 0.27.2 to 1.0.0
Bumps [axios](https://github.com/axios/axios) from 0.27.2 to 1.0.0.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.27.2...v1.0.0)
---
updated-dependencies:
- dependency-name: axios
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* feat: initial changes
* feat: more docs
* docs: global config
* feat: comparison
* chore: more docs
* docs: migrate docs generator to vitepress (#403)
* chore(vitepress): add basic files
* chore(vitepress): add dev deps & scripts for use
* chore(vitepress config): change to ts for type checks
* chore(vitepress config): remove js file
* chore(vitepress theme): add custom theme css
* chore(vitepress docs): add simple home page
* chore(gitignore): ignore doc dist
* chore(favicon): add icon to head
* feat(doc-features): add features spotlight
* chore(doc footer): made with ❤️
* chore(structure): move md files into `./src`
* chore(config): re-organise
* chore: custom dev port
* feat: documentation pages
* refactor: modified config
* feat: social links
* style: formatted code
* feat: removed code groups temporarily
* fix: fixed bundlephobia svg
* docs: general documentation remake
* docs: more rewritting
Co-authored-by: arthurfiorette <arthur.fiorette@gmail.com>
* fix: change headers usage
* fix: adapters exporting changes
* fix: request doesnt execute after abortion
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Cain <75994858+cainthebest@users.noreply.github.com>
|
2022-12-05 22:36:31 -03:00 |
|
arthurfiorette
|
67819a3d78
|
refactor: dependencies, lint and null assertions
|
2022-08-24 07:36:29 -03:00 |
|
arthurfiorette
|
623ae22053
|
refactor: updated some minor things
|
2022-05-07 15:08:52 -03:00 |
|
arthurfiorette
|
b6302efb80
|
fix: removed symbol to preserve sideEffect free status (#233)
|
2022-05-04 17:24:04 -03:00 |
|
Arthur Fiorette
|
17682ca0b9
|
Pass currentRequest on each access to storages (#220) (#226)
* feat: initial working code
* fix: better usage of currentRequest on storages
* feat: added tests
|
2022-05-01 10:03:30 -03:00 |
|
Christos Kopanos
|
6db89530c1
|
feat: handle web storage DOMExceptions (#148)
|
2022-02-21 14:10:32 -03:00 |
|
arthurfiorette
|
d14750ee63
|
refactor: moved header file
|
2022-01-19 07:48:33 -03:00 |
|
arthurfiorette
|
edb32bdea3
|
feat: add staleIfError support
|
2022-01-18 12:06:20 -03:00 |
|
arthurfiorette
|
0aed72f309
|
docs: updated rukit example
|
2022-01-17 17:15:13 -03:00 |
|
arthurfiorette
|
93df4fd93b
|
chore: eslint no-explicit-any
|
2022-01-10 13:40:55 -03:00 |
|
arthurfiorette
|
ff73ad5c69
|
fix: await unawaited promises and eslint more severe
|
2022-01-10 13:30:31 -03:00 |
|
arthurfiorette
|
79ce1926d2
|
refactor: prefer unknown over any and removed find method from storages
|
2022-01-07 15:24:41 -03:00 |
|
arthurfiorette
|
3c38985113
|
style: prettified code
|
2022-01-04 15:38:32 -03:00 |
|
arthurfiorette
|
567c1b2477
|
refactor: allow storages not return promises
|
2022-01-04 15:15:27 -03:00 |
|
arthurfiorette
|
4c1e0ec3fc
|
docs: fixed tsdocs and added storages section
|
2022-01-03 09:13:43 -03:00 |
|
arthurfiorette
|
bafe1de98c
|
refactor: modified and simplified storages
|
2022-01-02 20:30:00 -03:00 |
|