From 1567029075efc90fc412e013976c6a8b4582f977 Mon Sep 17 00:00:00 2001 From: Michael Snoyman Date: Wed, 25 Feb 2015 06:55:11 +0200 Subject: [PATCH] Disable out-of-file static content to allow horizontal scaling --- Foundation.hs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Foundation.hs b/Foundation.hs index 9120f6c..5aae958 100644 --- a/Foundation.hs +++ b/Foundation.hs @@ -131,6 +131,7 @@ instance Yesod App where -- The page to be redirected to when authentication is required. authRoute _ = Just $ AuthR LoginR + {- Temporarily disable to allow for horizontal scaling -- This function creates static content files in the static folder -- and names them based on a hash of their content. This allows -- expiration dates to be set far in the future without worry of @@ -142,6 +143,7 @@ instance Yesod App where genFileName lbs | development = "autogen-" ++ base64md5 lbs | otherwise = base64md5 lbs + -} -- Place Javascript at bottom of the body tag so the rest of the page loads first jsLoader _ = BottomOfBody