mirror of
https://github.com/kennethreitz/dive-into-python3.git
synced 2026-06-05 23:10:17 +00:00
about fiddling
This commit is contained in:
@@ -27,62 +27,6 @@ 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>
|
||||
|
||||
<p>vertical rhythm, best available ampersand, curly quotes/apostrophes, other stuff from webtypography.net
|
||||
|
||||
<p class=a>⁂
|
||||
|
||||
<h2 id=graphics>Graphics</h2>
|
||||
|
||||
<p>Unicode, callouts, font-family issues on Windows
|
||||
|
||||
<p class=a>⁂
|
||||
|
||||
<h2 id=performance>Performance</h2>
|
||||
|
||||
<p>"Dive Into History 2009 edition", minimizing CSS + JS + HTML, inline CSS, async jQuery
|
||||
|
||||
<p class=a>⁂
|
||||
|
||||
<h2 id=fun>Fun stuff</h2>
|
||||
|
||||
<p>Quotes, constrained writing, PapayaWhip
|
||||
|
||||
<p class=a>⁂
|
||||
|
||||
<h2 id=furtherreading>Further Reading</h2>
|
||||
|
||||
<ul>
|
||||
<li><a href='http://webtypography.net/toc/'>The Elements of Typographic Style Applied to the Web</a>
|
||||
<li><a href='http://www.alistapart.com/articles/settingtypeontheweb'>Setting Type on the Web to a Baseline Grid</a>
|
||||
<li><a href='http://24ways.org/2006/compose-to-a-vertical-rhythm'>Compose to a Vertical Rhythm</a>
|
||||
<li><a href='http://simplebits.com/notebook/2008/08/14/ampersands.html'>Use the Best Available Ampersand</a>
|
||||
<li><a href='http://alanwood.net/unicode/'>Unicode Support in HTML, Fonts, and Web Browsers</a>
|
||||
<li><a href='http://developer.yahoo.com/yslow/'>YSlow</a> for <a href='http://getfirebug.com/'>Firebug</a>
|
||||
<li><a href='http://developer.yahoo.com/performance/rules.html'>Best Practices for Speeding Up Your Web Site</a>
|
||||
<li><a href='http://stevesouders.com/hpws/rules.php'>14 Rules for Faster-Loading Web Sites</a>
|
||||
<li><a href='http://developer.yahoo.com/yui/compressor/'>YUI Compressor</a>
|
||||
</ul>
|
||||
-->
|
||||
|
||||
<p class=c>© 2001–9 <a href=about.html>Mark Pilgrim</a>
|
||||
<script src=j/jquery.js></script>
|
||||
<script src=j/dip3.js></script>
|
||||
|
||||
Reference in New Issue
Block a user