mirror of
https://github.com/kennethreitz/dive-into-python3.git
synced 2026-06-05 23:10:17 +00:00
about page fiddling
This commit is contained in:
Regular → Executable
+13
-1
@@ -27,9 +27,21 @@ h1:before{counter-increment:h1;content:''}
|
||||
<li><a href=iterators.html>Iterators</a>
|
||||
</ul>
|
||||
|
||||
<!--
|
||||
<p>But since you’re here, I’d like to talk about some of the small stuff I sweated while writing this book.
|
||||
|
||||
<p>The online edition loads as quickly as it does because
|
||||
<ol>
|
||||
<li>HTML is <a href=http://httpd.apache.org/docs/trunk/mod/mod_deflate.html>compressed</a>.
|
||||
<li>Scripts and stylesheets are minimized by <a href=http://developer.yahoo.com/yui/compressor/>YUI Compressor</a>.
|
||||
<li>Scripts are combined to reduce HTTP requests.
|
||||
<li>Stylesheets are combined and inlined to reduce HTTP requests.
|
||||
<li>Unused CSS selectors and properties are <a href=http://hg.diveintopython3.org/file/default/util/lesscss.py>removed on a page-by-page basis</a> with <a href=http://pyquery.org/>pyquery</a>.
|
||||
<li>HTTP caching and other server-side options are optimized based on advice from <a href=http://developer.yahoo.com/yslow/>YSlow</a> and <a href=http://code.google.com/speed/page-speed/>Page Speed</a>.
|
||||
<li>The text uses <a href=http://www.alanwood.net/unicode/unicode_samples.html>Unicode characters</a> in place of graphics wherever possible.
|
||||
<li>The entire book was <a href=http://diveintomark.org/archives/2009/03/27/dive-into-history-2009-edition>lovingly hand-authored in HTML 5</a> to avoid markup cruft.
|
||||
</ol>
|
||||
|
||||
<!--
|
||||
<p class=a>⁂
|
||||
|
||||
<h2 id=typography>Typography</h2>
|
||||
|
||||
Reference in New Issue
Block a user