mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-08-05 01:32:26 +08:00
Added some basic cache stuff
This commit is contained in:
@ -40,7 +40,8 @@
|
||||
{
|
||||
"DownstreamTemplate": "http://jsonplaceholder.typicode.com/posts",
|
||||
"UpstreamTemplate": "/posts",
|
||||
"UpstreamHttpMethod": "Get"
|
||||
"UpstreamHttpMethod": "Get",
|
||||
"FileCacheOptions": { "TtlSeconds": 15 }
|
||||
},
|
||||
{
|
||||
"DownstreamTemplate": "http://jsonplaceholder.typicode.com/posts/{postId}",
|
||||
|
Reference in New Issue
Block a user