Skip to content

Commit 4eba417

Browse files
committed
Update README.md
clarified seconds
1 parent d8008f6 commit 4eba417

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,28 +32,28 @@ For Web API 1 (.NET 4.0)
3232
Usage
3333
--------------------
3434

35-
//Cache for 100s on the server, inform the client that response is valid for 100s
35+
//Cache for 100 seconds on the server, inform the client that response is valid for 100 seconds
3636
[CacheOutput(ClientTimeSpan = 100, ServerTimeSpan = 100)]
3737
public IEnumerable<string> Get()
3838
{
3939
return new string[] { "value1", "value2" };
4040
}
4141

42-
//Cache for 100s on the server, inform the client that response is valid for 100s. Cache for anonymous users only.
42+
//Cache for 100 seconds on the server, inform the client that response is valid for 100 seconds. Cache for anonymous users only.
4343
[CacheOutput(ClientTimeSpan = 100, ServerTimeSpan = 100, AnonymousOnly = true)]
4444
public IEnumerable<string> Get()
4545
{
4646
return new string[] { "value1", "value2" };
4747
}
4848

49-
//Inform the client that response is valid for 50s. Force client to revalidate.
49+
//Inform the client that response is valid for 50 seconds. Force client to revalidate.
5050
[CacheOutput(ClientTimeSpan = 50, MustRevalidate = true)]
5151
public string Get(int id)
5252
{
5353
return "value";
5454
}
5555

56-
//Cache for 50s on the server. Ignore querystring parameters when serving cached content.
56+
//Cache for 50 seconds on the server. Ignore querystring parameters when serving cached content.
5757
[CacheOutput(ServerTimeSpan = 50, ExcludeQueryStringFromCacheKey = true)]
5858
public string Get(int id)
5959
{

0 commit comments

Comments
 (0)