Optimize HTML By Removing Unnecessary HTML

< 1 min read

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.

Updated on March 21, 2025
Table of contents
Was it helpful ?