rack-devel archive mirror (unofficial) https://groups.google.com/group/rack-devel
 help / color / mirror / Atom feed
From: Jeremy Kemper <jeremy@bitsweat.net>
To: rack-devel@googlegroups.com
Subject: Downsizing CommonLogger
Date: Wed, 29 Apr 2009 08:03:09 -0700	[thread overview]
Message-ID: <69a2885c0904290803j292d2c45j5a46d0e759b6272a@mail.gmail.com> (raw)


CommonLogger calculates the content length itself. This duplicates
work done by the app or ContentLength middleware.

The middleware is simpler, faster, and generates less garbage per
request by using the Content-Length header instead.

Patch: http://github.com/jeremy/rack/commit/f9d38d9d866060be39192675adcc2efc19164c6f

Best,
jeremy

             reply	other threads:[~2009-04-29 15:03 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-29 15:03 Jeremy Kemper [this message]
2009-04-29 15:21 ` Downsizing CommonLogger Michael Fellinger
2009-05-14  1:52   ` Jeremy Kemper
2009-05-14  5:14     ` Matt Todd
2009-05-14 14:28       ` Joshua Peek
2009-05-16  8:58         ` Christian Neukirchen
2009-08-12  1:14           ` Eric Wong
2009-08-12  2:38             ` Eric Wong
2009-08-12 21:56               ` Jeremy Kemper
2009-08-13  5:44                 ` Eric Wong
2009-08-13 10:14                 ` Christian Neukirchen
2009-08-13 16:18                   ` Jeremy Kemper
2009-08-13 16:26                     ` Jeremy Kemper
2009-08-13 16:30                     ` Yehuda Katz
2009-08-13 16:33                       ` Brian Lopez
2009-08-13 16:36                         ` Jeremy Kemper
2009-08-13 18:43                         ` Scytrin dai Kinthra
2009-08-14  3:33                       ` Eric Wong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://groups.google.com/group/rack-devel

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=69a2885c0904290803j292d2c45j5a46d0e759b6272a@mail.gmail.com \
    --to=rack-devel@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).