
codesite-noreply at google
Sep 10, 2009, 12:30 AM
Post #2 of 7
(711 views)
Permalink
|
|
Issue 568 in cherokee: Optimizing redirects
[In reply to]
|
|
Comment #1 on issue 568 by alobbs: Optimizing redirects http://code.google.com/p/cherokee/issues/detail?id=568 It's currently implemented in trunk. Here you have an example of three Keep-Alive requests (301, 404, and 200 responses): ===================== $ curl -v http://localhost:1234/pcre http://localhost:1234/not_found http://localhost:1234/list.h * About to connect() to localhost port 1234 (#0) * Trying 127.0.0.1... connected * Connected to localhost (127.0.0.1) port 1234 (#0) > GET /pcre HTTP/1.1 > User-Agent: curl/7.19.6 (i386-apple-darwin9.8.0) libcurl/7.19.6 zlib/1.2.3 > Host: localhost:1234 > Accept: */* < HTTP/1.1 301 Moved Permanently < Connection: Keep-Alive < Keep-Alive: timeout=5 < Date: Thu, 10 Sep 2009 07:25:06 GMT < Server: Cherokee/0.99.25b3650 (UNIX) < Location: http://localhost:1234/pcre/ < Content-Length: 302 < Content-Type: text/html < Cache-Control: no-cache < Pragma: no-cache < * Connection #0 to host localhost left intact * Re-using existing connection! (#0) with host localhost * Connected to localhost (127.0.0.1) port 1234 (#0) > GET /not_found HTTP/1.1 > User-Agent: curl/7.19.6 (i386-apple-darwin9.8.0) libcurl/7.19.6 zlib/1.2.3 > Host: localhost:1234 > Accept: */* < HTTP/1.1 404 Not Found < Connection: Keep-Alive < Keep-Alive: timeout=5 < Date: Thu, 10 Sep 2009 07:25:06 GMT < Server: Cherokee/0.99.25b3650 (UNIX) < Content-Length: 274 < Content-Type: text/html < Cache-Control: no-cache < Pragma: no-cache < * Connection #0 to host localhost left intact * Re-using existing connection! (#0) with host localhost * Connected to localhost (127.0.0.1) port 1234 (#0) > GET /list.h HTTP/1.1 > User-Agent: curl/7.19.6 (i386-apple-darwin9.8.0) libcurl/7.19.6 zlib/1.2.3 > Host: localhost:1234 > Accept: */* < HTTP/1.1 200 OK < Connection: Keep-Alive < Keep-Alive: timeout=5 < Date: Thu, 10 Sep 2009 07:25:06 GMT < Server: Cherokee/0.99.25b3650 (UNIX) < ETag: 496f5682=f15 < Last-Modified: Thu, 15 Jan 2009 15:30:10 GMT < Content-Length: 3861 ===================== Stefan, thanks for taking care of logging this report. :-) -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings _______________________________________________ Cherokee-dev mailing list Cherokee-dev [at] lists http://lists.octality.com/listinfo/cherokee-dev
|