Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 25712 invoked from network); 1 Jun 2010 00:42:36 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 1 Jun 2010 00:42:36 -0000 Received: (qmail 6725 invoked by uid 500); 1 Jun 2010 00:42:35 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 6667 invoked by uid 500); 1 Jun 2010 00:42:35 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 6659 invoked by uid 99); 1 Jun 2010 00:42:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Jun 2010 00:42:35 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of bmcquade@google.com designates 216.239.44.51 as permitted sender) Received: from [216.239.44.51] (HELO smtp-out.google.com) (216.239.44.51) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Jun 2010 00:42:29 +0000 Received: from kpbe17.cbf.corp.google.com (kpbe17.cbf.corp.google.com [172.25.105.81]) by smtp-out.google.com with ESMTP id o510g7gC003765 for ; Mon, 31 May 2010 17:42:07 -0700 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1275352927; bh=zEP7wrrr0UXDNxADZSPtgMD2GHE=; h=MIME-Version:In-Reply-To:References:Date:Message-ID:Subject:From: To:Content-Type; b=B6GKQjX378tghILVXA8aXqWXZDnNsxYwCD2oDushHQv9Hz5lpSqaMWKLqxUz79e7L Kb7ZfGgToGgC00izl9JEg== DomainKey-Signature: a=rsa-sha1; s=beta; d=google.com; c=nofws; q=dns; h=mime-version:in-reply-to:references:date:message-id:subject:from:to: content-type:x-system-of-record; b=gqA4xGWgR2VNqPM8lmqobWck5PZiltfKfIyyzRyYKPfaLK1hvvFcvhj3NwaZiM7dN ppXv6nuWrkeRHHd2FY/aA== Received: from pvg11 (pvg11.prod.google.com [10.241.210.139]) by kpbe17.cbf.corp.google.com with ESMTP id o510g5mp028340 for ; Mon, 31 May 2010 17:42:06 -0700 Received: by pvg11 with SMTP id 11so3394345pvg.5 for ; Mon, 31 May 2010 17:42:05 -0700 (PDT) MIME-Version: 1.0 Received: by 10.141.106.11 with SMTP id i11mr3824186rvm.242.1275352240135; Mon, 31 May 2010 17:30:40 -0700 (PDT) Received: by 10.141.130.15 with HTTP; Mon, 31 May 2010 17:30:40 -0700 (PDT) In-Reply-To: References: Date: Mon, 31 May 2010 20:30:40 -0400 Message-ID: Subject: Re: Fast by default From: Bryan McQuade To: dev@httpd.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-System-Of-Record: true I had a conversation with a well known hosting provider recently and they told me they use the default Apache configuration for their shared hosting service. When I asked if they provide gzip as an option for their users, they said no, since it was not enabled by default. When I explained to them that enabling gzip has significant benefits for end users they were very interested in turning on gzip. This company just used the default Apache config, assuming that it was reasonably well tuned by default. You can claim that they're making bad, uninformed decisions, or whatever you want to, but the fact remains: some Apache users assume that the default config is a reasonably good config, and use it as-is. There are two classes of users out there: power users that want to tune every knob manually, and typical users that just want Apache to work out of the box. Apache developers on this list are part of the former group, which I assume is why the default Apache config is very simple. It's designed by power users, for power users. But there are non-power users out there. It would be nice if the Apache community provided configuration hints for these users. In 2010, IMO there is no good reason to have gzip disabled by default. Almost all websites enable it. There are a handful of prominent websites that do not. I've had conversations with a few of these sites. Most of them have not turned it on because they don't understand what it does, not because they don't have enough CPU. gzip has been used on the web now for well over 10 years. Only *very* old browsers, proxies, etc don't have perfect support for gzip. I can respect that the default httpd.conf is designed to be simple and minimalist. But it would be helpful to have an additional example configuration in svn trunk and as part of Apache releases, that enable things like mod_deflate. The current comments in httpd.conf explain that there are additional directives and "you have been warned" but IMO this is not very helpful or specific. We can do better. I propose providing an additional httpd.conf in the svn trunk and as part of future Apache releases that enables modules and directives that are commonly recommended on Apache performance tuning websites. This includes mod_deflate, mod_expires, etc. This will allow power users to continue to start with the current httpd.conf while typical users can just use the well optimized configuration. Hopefully this suggestion isn't too controversial. If there are concerns about some of the specific directives suggested in this thread, I'm sure we can work those out through discussion. Can we agree that it would be useful to provide an additional configuration file for non-power users that enables commonly recommended modules by default? On Mon, May 31, 2010 at 5:24 PM, Eric Covener wrote: >> In case of a regular internet provider or enterprise IT or Linux >> distribution packager, I think this is very different and they have hard >> time understanding this and I believe it's important for a team maintaining >> most popular web server in the world to make such decisions for them as you >> did with other modules that are compiled in by default. > > nonsense > > -- > Eric Covener > covener@gmail.com >