debian-mirror-gitlab/config/initializers/etag_caching.rb
2017-08-17 22:00:37 +05:30

5 lines
230 B
Ruby

# 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)