Suave - Control when responses are 'cached' or recalculated
问题 I want to understand how to control when responses are 'cached' versus when they are 'recalculated'. As an example: [<EntryPoint>] let main [| port |] = let config = { defaultConfig with bindings = [ HttpBinding.mk HTTP IPAddress.Loopback (uint16 port) ] listenTimeout = TimeSpan.FromMilliseconds 3000. } let appDemo:WebPart = DateTime.Now.ToString() |> sprintf "Server timestamp: %s" |> Successful.OK startWebServer config appDemo If I run the above webserver and hit it several times then each