Skip to content

Commit

Permalink
cached indefinetely
Browse files Browse the repository at this point in the history
  • Loading branch information
lollerfirst committed Nov 24, 2024
1 parent c1bbf0f commit 1bc561a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions XX.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,10 @@ The entry must be structured as follows:
}
```

Where `ttl` is the amount of seconds the responses are cached for and `"cached_endpoints"` is a list of the routes for which caching is enabled.
`"path"` and `"method"` describe respectively the cached route and its method.
Where `ttl` is the amount of seconds the responses are cached for and `cached_endpoints` is a list of the routes for which caching is enabled.
`path` and `method` describe respectively the cached route and its method.

if `ttl` is set to 0, then the responses are to be considered cached *indefinetely*

## Example

Expand Down

0 comments on commit 1bc561a

Please sign in to comment.