yesodweb/wai — Issue #15: ssGetMimeType encourages inefficient code.
Author: gregwebs
Created: 2011-10-10 14:59:23+00:00
State: open

ssGetMimeType is invoked for each FileResponse in wai-app-static. That means if someone writes ssGetMimeType to lookup from a file, that file will be read each time.

Can the type signature be changed to be pure? What is the IO needed for?