Timeline for Apex includeScript outputting scripts after </html> tag
Current License: CC BY-SA 4.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 19, 2020 at 4:19 | comment | added | miCRoSCoPiC_eaRthLinG | Thank you very much for your help - much appreciated. I found a couple of resources that suggested applyHtmlTag=true increases the processing time and hence negatively affects page rendering time. I am perhaps a bit old-school and would like more control over the layout - hence trying to do it the hard way. Defer attribute is now included. Thanks for pointing that out :D | |
Aug 18, 2020 at 14:22 | comment | added | sfdcfox♦ |
@miCRoSCoPiC_eaRthLinG I see you're insisting on applyHtmlTag=false. I believe that's causing the core issue, as far as I can tell. Also, note the use of the defer attribute to align with loadOnReady=true. Try using the latter design, as I suggested. I'll look and see if I can replicate the script-after-html problem and get back to you.
|
|
Aug 18, 2020 at 13:56 | comment | added | miCRoSCoPiC_eaRthLinG | Thank you VERY MUCH @sfdcfox. That definitely alleviated part of the problem. Now the stylesheets and scripts are back in their desired locations. However, SFDC still continues to output strange head and script sections before and after the HTML tags. I've updated my question with the most recent output at the bottom part. Any thoughts. | |
Aug 18, 2020 at 13:23 | history | answered | sfdcfox♦ | CC BY-SA 4.0 |