Skip to content

Validate behaviour of cache #1

@ioquatix

Description

@ioquatix
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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions