debian-mirror-gitlab/config/initializers/etag_caching.rb

5 lines
230 B
Ruby
Raw Normal View History

2017-08-17 22:00:37 +05:30
# This middleware has to come after Gitlab::Metrics::RackMiddleware
# in the middleware stack, because it tracks events with
# GitLab Performance Monitoring
Rails.application.config.middleware.use(Gitlab::EtagCaching::Middleware)