rails_server_timings icon indicating copy to clipboard operation
rails_server_timings copied to clipboard

Server Timing headers for Rails apps

rails_server_timings

Rails support for returning Server Timing headers on requests providing instrumentation information to in-browser developer tools.

Download

  • Github: https://github.com/dpogue/rails_server_timings

  • Gem:

    $ gem install rails_server_timings
    

Configuration

Add rails_server_timings to your Gemfile:

gem 'rails_server_timings'

By default, Rails will now include the Server-Timing response header on every controller response.

To disable, set config.server_timings.enabled to false in your application configuration.

Contributing

Contributions of bug reports, feature requests, and pull requests are greatly appreciated!

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

Licence

Copyright © 2017 Darryl Pogue Licensed under the MIT Licence.