gitlab-org--gitlab-foss/app/assets/javascripts/performance_bar
Sean McGivern d77db0adbd Fix flash errors in performance bar for cached responses
When a request contains an ETag value in its If-None-Match header, the backend
may send a request ID (from Rack) that does not correspond to a value in Peek's
Redis cache (because we aborted the Rails processing in our ETag middleware).

Because a cached response (304) has to replace the headers with those from the
previous 200 - https://tools.ietf.org/html/rfc7234#section-4.3.4 - we add a
custom header that will only be present in cache hits, that can tell the
frontend to ignore these.
2018-04-17 11:50:27 +01:00
..
components Fix class name 2018-03-22 10:55:35 +00:00
services Fix flash errors in performance bar for cached responses 2018-04-17 11:50:27 +01:00
stores Show Ajax requests in performance bar 2018-03-19 19:06:09 +00:00
index.js Fix performance bar spacing 2018-03-21 16:28:07 +00:00