-
-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
require 'falcon/command'
Async do
endpoint = Falcon::Endpoint.parse("https://localhost:9293")
app = lambda{|env| [200, {}, ["Hello World #{rand}"]]}
middleware = Falcon::Server.middleware(app)
Async::HTTP::Server.new(middleware, endpoint).run
end
When reloading the page, the cache hit occurs and the random number is unchanged.
cc @tadman
Metadata
Metadata
Assignees
Labels
No labels