3 ms·
If you're implementing CSP, you should only include the header on text/html or other rendered responses, so the overhead is more per-navigation than per-request
by r1ch 7y ago
If you're implementing CSP, you should only include the header on text/html or other rendered responses, so the overhead is more per-navigation than per-request. I've seen a lot of guides where CSP is added globally at the webserver level which can waste a lot of bandwidth with images etc.