3 ms·
Very nice! Tells me to add "<meta name="referrer" content="no-referrer">" which I didn't think of, because I don't link to external resources.
by mirimir 8y ago
Very nice! Tells me to add "<meta name="referrer" content="no-referrer">" which I didn't think of, because I don't link to external resources.
- tananaev 8y agoI 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.