Optimize HTML by removing unnecessary HTML

Impact area

Performance

Severity

Medium

Impact

Unnecessary HTML increases the size of the component tree and the processing time for Ajax requests.

Remediation

Remove from your source code tags which the Visualforce page would remove at runtime (such as <head> or <body> inside an <apex:page> tag.

References

See the Salesforce documentation article: Optimizing HTML.

What's here


Related content

Apex Component rules




Last modified on Mar 31, 2020