Browser & Web Performance · Senior · Question 69 of 75

Why should the CSP be sent as an HTTP header rather than a <meta> tag when possible?

Explanation

A meta CSP is a fallback for static hosting where you can't control headers.

Further reading

Problem with a question

Browser & Web Performance · Senior · question 69

Test yourself

Take the Browser & Web Performance · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz