From users-return-58144-apmail-myfaces-users-archive=myfaces.apache.org@myfaces.apache.org Mon Apr 11 11:49:36 2011 Return-Path: Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: (qmail 34753 invoked from network); 11 Apr 2011 11:49:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Apr 2011 11:49:36 -0000 Received: (qmail 24566 invoked by uid 500); 11 Apr 2011 11:49:35 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 24497 invoked by uid 500); 11 Apr 2011 11:49:34 -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 24489 invoked by uid 99); 11 Apr 2011 11:49:34 -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 11:49:34 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of mhn4dev@googlemail.com designates 209.85.161.53 as permitted sender) Received: from [209.85.161.53] (HELO mail-fx0-f53.google.com) (209.85.161.53) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Apr 2011 11:49:27 +0000 Received: by fxm8 with SMTP id 8so4369160fxm.12 for ; Mon, 11 Apr 2011 04:49:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:content-type:content-transfer-encoding; bh=wPSWXBJer5hgptHrttUYI6/204geRJoDXl8z4/vnoCA=; b=opeGiKcB1X/T3E/o31zxw0ML+7lP3KYjzWqaQ+q7/myAVVcWO2l9F82pmJea4mM0yJ 9o+rViSAA3fNywTs36PytPi/HtYEpAj6R4DsS21Ufqzf9XNsCls2EEZ8AGJTrDPYi46A zdTCsH31ZOm+uGnBbPrsFPLHnFdOyWs4dvMsw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=DXpqbbFLPsYbK9vXpHc7SE0q5nTdoEkRitZUKdAFQ0Z76sezusCD9N6PGi5QX+oRb9 eOeZtu1pPd8C1Ppg9T/91s4zmMI1umHUwomst6tcAtR8J6BBYQ1s4ACAHQsPIEuxl2rx CVEwYh0g7hBOHaDX8mLb7CYOfqHqUet6GFwZw= Received: by 10.223.87.218 with SMTP id x26mr2331808fal.133.1302522546896; Mon, 11 Apr 2011 04:49:06 -0700 (PDT) Received: from [10.55.200.162] ([194.25.214.106]) by mx.google.com with ESMTPS id l2sm1645744fam.5.2011.04.11.04.49.05 (version=SSLv3 cipher=OTHER); Mon, 11 Apr 2011 04:49:06 -0700 (PDT) Message-ID: <4DA2EAB0.4090101@googlemail.com> Date: Mon, 11 Apr 2011 13:49:04 +0200 From: Michael Heinen User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: MyFaces Discussion Subject: JSF application very slow with HTTPS Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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 (locally 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 course 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