Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dpogue/rails_server_timings
Server Timing headers for Rails apps
https://github.com/dpogue/rails_server_timings
rails rails-engine rails-gem railtie rubygem server-timing
Last synced: 14 days ago
JSON representation
Server Timing headers for Rails apps
- Host: GitHub
- URL: https://github.com/dpogue/rails_server_timings
- Owner: dpogue
- License: mit
- Created: 2017-03-19T00:47:52.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-16T02:23:10.000Z (almost 7 years ago)
- Last Synced: 2025-01-16T13:38:33.373Z (21 days ago)
- Topics: rails, rails-engine, rails-gem, railtie, rubygem, server-timing
- Language: Ruby
- Size: 20.5 KB
- Stars: 113
- Watchers: 5
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
rails_server_timings
====================Rails support for returning [Server Timing](http://wicg.github.io/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:
```ruby
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](https://github.com/dpogue/rails_server_timings/blob/master/CODE_OF_CONDUCT.md). By participating in this project you agree to abide by its terms.
Licence
-------Copyright © 2017 Darryl Pogue
Licensed under the MIT Licence.