Closed ThomasLocke closed 5 years ago
Citing the docs:
Note: to work around an issue in warp, the default FD cache duration is set to 0 so changes to static files are always picked up. This likely has performance implications, so you may want to modify this for production servers using setFdCacheDuration.
And with that out of the way, I think we can safely close this "issue". :)
While working on my first Scotty project, I noticed the above sentence early in the stackage.org docs:
https://www.stackage.org/haddock/lts-10.5/scotty-0.11.0/Web-Scotty.html
I get the need to set the
defaultHandler
but I can't quite figure out what needs to be changed insettings
in order to go from "development" to "production".To my untrained eye, the default settings seems quite sane and fine for a production server.
Or am I missing something?