Ruby-Rails应用程序的服务器时间标头

  • Q1_676442
    了解作者
  • 6.9KB
    文件大小
  • zip
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-05-23 05:06
    上传日期
Rails应用程序的服务器时间标头
Ruby-Rails应用程序的服务器时间标头.zip
  • rails_server_timings-master
  • lib
  • rails_server_timings
  • version.rb
    58B
  • controller_runtime.rb
    687B
  • railtie.rb
    474B
  • rails_server_timings.rb
    109B
  • .editorconfig
    147B
  • README.md
    1.1KB
  • CODE_OF_CONDUCT.md
    3.1KB
  • .gitignore
    275B
  • Rakefile
    28B
  • LICENCE
    1KB
  • rails_server_timings.gemspec
    886B
  • Gemfile
    91B
内容介绍
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.
评论
    相关推荐