let examples use the new features

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@496 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/heads/lighttpd-1.3.x
Jan Kneschke 2005-07-31 13:18:18 +00:00
parent f2cd60aab8
commit c11f816204
2 changed files with 4 additions and 4 deletions

View File

@ -182,7 +182,7 @@ Configuration
(
"method" => "digest",
"realm" => "download archiv",
"require" => "user=jan"
"require" => "valid-user"
)
)

View File

@ -109,9 +109,9 @@ and the following index.cml file: ::
if file_mtime(b .. "../lib/php/menu.csv") > file_mtime(cwd .. "_cache.html") or
file_mtime(b .. "templates/jk.tmpl") > file.mtime(cwd .. "_cache.html")
file.mtime(b .. "content.html") > file.mtime(cwd .. "_cache.html") then
return 1
return CACHE_MISS
else
return 0
return CACHE_HIT
end
Numbers again:
@ -152,7 +152,7 @@ The index.cml for this looks like: ::
cwd .. "news.html",
cwd .. "footer.html" }
return 0
return CACHE_HIT
Now we get about 10000 req/s instead of 600 req/s.