Avoid importing multiple CSS files individually

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.

What's here


Related content

Apex Page rules

Salesforce rules




Last modified on Nov 24, 2022