4 ms·
I have added `Referrer-Policy` header to my nginx configuration instead. What is better meta tag or header and why?
by tananaev 8y ago
I have added `Referrer-Policy` header to my nginx configuration instead. What is better meta tag or header and why?
- chrismorgan 8y ago<meta name=referrer> is the older of the two, and has IE/Edge support if you use one of the values never, always, origin and default, while the Referrer-Policy header is still in development for Edge. Using the header form will be more efficient on HTTP/2 due to HPACK reducing it to roughly one byte. Using the meta tag is typically easier to deploy.