Skip to main content Skip to docs navigation

Fetch Directive

CSP fetch directives are used in a Content-Security-Policy header and control locations from which certain resource types may be loaded. For instance, script-src allows developers to allow trusted sources of script to execute on a page, while font-src controls the sources of web fonts.

On this page

Updated on April 20, 2024 by Datarist.