A platform for community discussion. Free, open, simple.
PERF: Skip metadata routes for mini_profiler (#20543)
David Taylor41f933ce89f0
diff --git a/config/initializers/006-mini_profiler.rb b/config/initializers/006-mini_profiler.rbindex 2972a981106..ec6f6e2a669 100644--- a/config/initializers/006-mini_profiler.rb+++ b/config/initializers/006-mini_profiler.rb@@ -53,6 +53,8 @@ if defined?(Rack::MiniProfiler) && defined?(Rack::MiniProfiler::Config)%r{^/stylesheets/},%r{^/favicon/proxied},%r{^/theme-javascripts},+ %r{^/manifest.webmanifest},+ %r{^/opensearch.xml},]# we DO NOT WANT mini-profiler loading on anything but real desktops and laptops