Content Security Policy (CSP)
CSP is a web security standard that helps prevent common attacks like cross-site scripting (XSS) and data injection. It works by allowing a website to define a whitelist of trusted domains from which the browser is permitted to load resources (such as scripts, styles, and images). A properly configured CSP can significantly improve a site's security.
Related web performance terms
- CDN (Content Delivery Network)
A CDN, or Content Delivery Network, is a globally distributed network of servers designed to deliver web content to users quickly and efficiently.
- CORS (Cross-Origin Resource Sharing)
CORS is a browser security feature that uses HTTP headers to manage whether a web page from one domain is allowed to fetch resources from another domain.
- CPU time
CPU time is the amount of time the Central Processing Unit (CPU) of a user's device spends processing the scripts and rendering a webpage.
- Cache
A cache is a high-speed, temporary storage layer designed to store copies of website files (like HTML, images, and scripts) closer to the user.