We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
cache.ttl
1 parent 3c4bb71 commit 8457696Copy full SHA for 8457696
docs/src/config/request-specifics.md
@@ -130,6 +130,13 @@ the interpreter can't determine their TTL value to override this one.
130
131
:::
132
133
+::: warning
134
+
135
+The `ttl` is only applied when the response is **first cached**; changing it on follow-up
136
+requests has no effect. See [#1024](https://github.com/arthurfiorette/axios-cache-interceptor/issues/1024) for workarounds.
137
138
+:::
139
140
The time until the cached value is expired in milliseconds.
141
142
If a function is used, it will receive the complete response and waits to return a TTL
0 commit comments