From 3adb32d995c9438ea35fada9afb545e2c422fec7 Mon Sep 17 00:00:00 2001 From: Sam Rueby Date: Tue, 17 Sep 2019 10:35:00 -0400 Subject: [PATCH] Clarified in README ServerTimeSpan is in seconds. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 95da710..d4d53e7 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ You can specify the following properties: - *MustRevalidate* (corresponds to MustRevalidate HTTP header - indicates whether the origin server requires revalidation of a cache entry on any subsequent use when the cache entry becomes stale) - *ExcludeQueryStringFromCacheKey* (do not vary cache by querystring values) - - *ServerTimeSpan* (time how long the response should be cached on the server side) + - *ServerTimeSpan* (time in seconds how long the response should be cached on the server side) - *AnonymousOnly* (cache enabled only for requests when Thread.CurrentPrincipal is not set) Additionally, the library is setting ETags for you, and keeping them unchanged for the duration of the caching period.