Why is the code appended after </html>

9 views
Skip to first unread message

Joyce Babu

unread,
Apr 12, 2013, 9:59:32 PM4/12/13
to mod-pagespeed...@googlegroups.com
Why is prioritize_critical_css appending the <script> and <noscript> tags after the closing </html> tag and not inside the body tag?

Matt Atterbury

unread,
Apr 15, 2013, 2:13:19 PM4/15/13
to Joyce Babu, mod-pagespeed-beta-testers
Hi Joyce,

We do that sometimes only, when we get certain optimization results after we've seen the end of the document. It's not pretty (or technically correct) but it works in all browsers we've tested against.

That said, we have a new release coming out later this week that should eliminate that case entirely, so they will always be before the final </html>.

Thanks! m.


On Fri, Apr 12, 2013 at 9:59 PM, Joyce Babu <jo...@joycebabu.com> wrote:
Why is prioritize_critical_css appending the <script> and <noscript> tags after the closing </html> tag and not inside the body tag?



--
"Klaatu barada nikto"                          (754) 444-6288
Reply all
Reply to author
Forward
0 new messages