Return-Path: Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: (qmail 40330 invoked from network); 11 Apr 2011 13:28:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Apr 2011 13:28:39 -0000 Received: (qmail 45880 invoked by uid 500); 11 Apr 2011 13:28:38 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 45841 invoked by uid 500); 11 Apr 2011 13:28:38 -0000 Mailing-List: contact users-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Discussion" Delivered-To: mailing list users@myfaces.apache.org Received: (qmail 45833 invoked by uid 99); 11 Apr 2011 13:28:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Apr 2011 13:28:38 +0000 X-ASF-Spam-Status: No, hits=4.7 required=5.0 tests=FREEMAIL_FROM,FREEMAIL_REPLY,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RFC_ABUSE_POST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of adrian.mitev@googlemail.com designates 209.85.220.181 as permitted sender) Received: from [209.85.220.181] (HELO mail-vx0-f181.google.com) (209.85.220.181) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Apr 2011 13:28:32 +0000 Received: by vxb39 with SMTP id 39so4816082vxb.12 for ; Mon, 11 Apr 2011 06:28:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=0z5ojUNF9ym3rWGIX7hPlf1dt+jl9YmCx0h53Ke5CUg=; b=cQaU697IBM9Yi6SHtZ00z9v/5NQOdS+oeqcdp3Jh+y/W8N+mktf+T4M2WCqa+zAssG TZHkeRo4m8Dj6HtHiO9k8Z+zXD5vf+HHmKg+4rv6mYj+DW2+EdmC65lGfwBCzuedGT9Y gDc+9z/y4A617BkYmgybNaSQZ+zGi+eM+Fhb4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=JjZZU24/ah4onwDTRjGcmnNtlGFOepFP/AnhSeWeIl3ru4AeBXGPKv5pTscREcfF9W bSMN5IRvD0DH9HB2nbISRnfICdsuT7xKZU4TejDK/i0pv6pxpneUi9OuyKywLMpExH/z Gj+RX/OnEeURbcBggYag+5RxT9NhYJhUuK5Rg= MIME-Version: 1.0 Received: by 10.52.72.67 with SMTP id b3mr7468844vdv.116.1302528491973; Mon, 11 Apr 2011 06:28:11 -0700 (PDT) Received: by 10.220.182.13 with HTTP; Mon, 11 Apr 2011 06:28:11 -0700 (PDT) In-Reply-To: References: <4DA2EAB0.4090101@googlemail.com> Date: Mon, 11 Apr 2011 16:28:11 +0300 Message-ID: Subject: Re: JSF application very slow with HTTPS From: Adrian Mitev To: MyFaces Discussion Content-Type: multipart/alternative; boundary=20cf307f3bfc12ebcf04a0a48cb2 X-Virus-Checked: Checked by ClamAV on apache.org --20cf307f3bfc12ebcf04a0a48cb2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Have you turned on the page compression of your app server? 2011/4/11 Walter Mour=E3o > As far as I know, the JSF does not know anything about https... it is > handled by the servlet container (Tomcat, Jetty...). > > Walter Mour=E3o > http://waltermourao.com.br > http://arcadian.com.br > http://oriens.com.br > > > > On Mon, Apr 11, 2011 at 8:49 AM, Michael Heinen >wrote: > > > Hi, > > > > My JSF application is very slow via HTTPS. > > Some parts are 15 times slower compared to HTTP > > > > I measured the response times of the xhtml requests with Fiddler (local= ly > > and over network) > > > > Result for a very large page (512 KB) with a big datatable without ajax > > usage: > > -- local access with HTTP: 1 sec > > -- local access with HTTPS: 15-16 sec > > > > Other pages are factor 2-4 slower, with or without ajax. > > The time is spent in htmlTableRenderer.encodeInnerHtml. Data is of cour= se > > available, there is no additional backend access. > > > > The simple download of xhtml files or other files is NOT (noticeable) > > slower. > > Other non JSF applications running on the same servers are also not > slower > > with HTTPS. > > > > Before I start profiling: > > - Does anybody have an idea where I should look at? > > - Are there any known JSF or webApp settings that influence https > > performance? > > > > Environment: > > Facelets > > myFaces 1.2.9 > > tomahawk12_1.1.10 > > richfaces 3.3.3 > > tomcat 6.0.29 > > jdk 1.6.0_23 > > > > Regards, > > Michael > > > --=20 Although nobody can come back and make a new start, anyone can start now an= d make a new end --20cf307f3bfc12ebcf04a0a48cb2--