thinQmaster Virtual testing partner Adaptive practice exams that find your weak spots and drill them. Every answer explained. From $69
Enroll

thinQmaster

Find your exam

Five questions free, before you decide.

Step 1 · choose a vendor

In one of our camps? Your practice exams come with the tuition — they are on your study page already.

Business Platforms & EA · Foundational

Static Resource

Uploaded file or archive (JS, CSS, images) referenced by Visualforce or Lightning components.

Definition

Static resources up to 5 MB each are cached and served from Salesforce, and are loaded in LWC with loadScript and loadStyle from lightning/platformResourceLoader.

Example

import chartjs from '@salesforce/resourceUrl/chartjs';

Exam tip

Third-party libraries in LWC should be loaded from static resources, not external CDNs.

Related terms