Though we should be conscious of performance – this middleware gets called on every single request, so it should be quite optimized.