Avoid using <apex:includeScript>
Impact area
Manageability
Severity
Medium
Affected element
Apex Component
Rule ID
SF-0120
Impact
The <apex:includeScript>
tag places JavaScript right before the closing </head>
element, causing the browser to attempt to load the JavaScript before rendering any other content on the page. This may have unintended consequences and/or cause slower page loads.
Time to fix
40 min
Remediation
Use the standard HTML <script>
tag instead of <apex:includeScript>
.