Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Dec 2012 22:46:05 -0500
From:      Eitan Adler <lists@eitanadler.com>
To:        freebsd-doc@freebsd.org
Subject:   removing wasted bytes from the website header
Message-ID:  <CAF6rxgkJ5s5UF_iFvqShE4m36ZpDBTa9d8HJrHmsdF%2Bc%2B45iyw@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hey,

What do you think of this?  The second part was lightly tested.  The
remaining claims were verified by various compatibility tables.

commit 596b3cfd01ce76bdd64e52bf1e32458879414ac4
Author: Eitan Adler <lists@eitanadler.com>
Date:   Fri Dec 21 22:31:10 2012 -0500

    MSSmartTagsPreventParsing is an ancient feature and including the header
    is now pointless bytes.

    All current browsers accept "shortcut icon" as <link> location.

    Reviewed by:	doc
    Approved by:	??? (mentor)

diff --git a/share/xml/xhtml.xsl b/share/xml/xhtml.xsl
index 2175e25..82a43d8 100644
--- a/share/xml/xhtml.xsl
+++ b/share/xml/xhtml.xsl
@@ -38,11 +38,9 @@
       <head>
 	<title><xsl:value-of select="$title" /></title>
 	<meta http-equiv="Content-Type" content="text/html; charset=&xml.encoding;" />
-	<meta name="MSSmartTagsPreventParsing" content="TRUE" />
 	<xsl:copy-of select="/xhtml:html/xhtml:head/xhtml:meta"/>
 	<link rel="shortcut icon" href="&enbase;/favicon.ico" type="image/x-icon" />
 	<link rel="stylesheet" media="screen" href="&stylesheet;" type="text/css"/>
-	<link rel="icon" href="&enbase;/favicon.ico" type="image/x-icon" />
 	<xsl:copy-of select="/xhtml:html/xhtml:head/xhtml:link"/>
 	<xsl:call-template name="process.rss.link"/>
 	&header1.googlejs;


-- 
Eitan Adler



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAF6rxgkJ5s5UF_iFvqShE4m36ZpDBTa9d8HJrHmsdF%2Bc%2B45iyw>