on master help sign in
Merge pull request #111 from yesodweb/no-max-age

default to NoMaxAge, not a magic number

commit1071869bb21e6d502e77fb716c6f1397c323a8a5 authorMichael Snoyman <michael@snoyman.com> dateWed 26 Dec 2012, 07:44 (14 years ago) parentca76881cc73964
1 file changed+1−1
wai-app-static/WaiAppStatic/Storage/Filesystem.hs+1−1
wai-app-static/WaiAppStatic/Storage/Filesystem.hs+1−1
@@ -57,7 +57,7 @@ defaultFileServerSettings root = StaticSettings
5757 { ssLookupFile = fileSystemLookup (fmap Just . hashFile) root
5858 , ssMkRedirect = defaultMkRedirect
5959 , ssGetMimeType = return . defaultMimeLookup . fromPiece . fileName
60− , ssMaxAge = MaxAgeSeconds $ 60 * 60
60+ , ssMaxAge = NoMaxAge
6161 , ssListing = Just defaultListing
6262 , ssIndices = map unsafeToPiece ["index.html", "index.htm"]
6363 , ssRedirectToIndex = False