Rubyists Assemble! We're currently raising funds to help drive the launch of 1.0! Join the effort today ▸

WEBrick Options

You can provide custom headers for your site by adding them to bridgetown.config.yml

# File: bridgetown.config.yml
    My-Header: My-Value
    My-Other-Header: My-Other-Value


Bridgetown provides by default Content-Type and Cache-Control response headers: one dynamic in order to specify the nature of the data being served, the other static in order to disable caching so that you don’t have to fight with aggressive caching when you are in development mode.

Back to Configuration