diff xml/en/docs/http/server_names.xml @ 618:2300e4c1a231

Improved paragraph layout in the 'Optimization' section
author Vladimir Homutov <vl@nginx.com>
date Mon, 06 Aug 2012 09:17:12 +0000
parents 130fad6dc1b4
children 656dfb085020
line wrap: on
line diff
--- a/xml/en/docs/http/server_names.xml	Thu Aug 02 13:24:07 2012 +0000
+++ b/xml/en/docs/http/server_names.xml	Mon Aug 06 09:17:12 2012 +0000
@@ -313,15 +313,24 @@
 starting with an asterisk, and a wildcard names hash ending with an asterisk.
 The sizes of the hashes are optimized at the configuration phase so that
 a name can be found with the fewest CPU cache misses.
+</para>
+
+<para>
 The exact names hash is searched first.
 If a name is not found using the exact name hash, then the wildcard names hash
 starting with an asterisk is searched.
 If the name is not found there, the wildcard names hash
 ending with an asterisk is searched.
+</para>
+
+<para>
 Searching wildcard names hashes is slower than searching exact name hash
 because names are searched by domain parts.
 Note that the special wildcard form “<literal>.example.org</literal>”
 is stored in a wildcard names hash and not in an exact names hash.
+</para>
+
+<para>
 Regular expressions are tested sequentially
 and therefore are the slowest method and are non-scalable.
 </para>