Avoid Importing Multiple CSS Files Individually

< 1 min read

Impact Area

Performance

Severity

Medium

Affected Element

Apex Page

Rule ID #

SF-0118

Impact #

Importing multiple static resources increases page load time.

Remediation #

Combine all CSS files into a single file to reduce the number of HTTP requests.

Time to fix #

30 min

References #

See the Salesforce documentation article: Visualforce Performance: Best Practices > Optimizing CSS.

Updated on March 21, 2025
Was it helpful ?