yesodweb/yesod — pull request #454 by dlthomas (2012-11-22 19:12:28+00:00)
Title: Prevent caching of redirects

Ran into a problem accessing my site on a recent version of icecat (the FSF firefox fork). It's very aggressive about caching, and was caching the redirect from a protected route to the login page, such that trying to get back to that protected route once logged in would put me back at the login page. This seems to fix it, by telling the browser not to cache redirects, which should be correct for most redirects that are decided dynamically.