Return-Path: X-Original-To: apmail-xmlgraphics-commits-archive@www.apache.org Delivered-To: apmail-xmlgraphics-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EFC17D105 for ; Tue, 11 Dec 2012 13:44:19 +0000 (UTC) Received: (qmail 86033 invoked by uid 500); 11 Dec 2012 13:44:19 -0000 Mailing-List: contact commits-help@xmlgraphics.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: general@xmlgraphics.apache.org Delivered-To: mailing list commits@xmlgraphics.apache.org Received: (qmail 85975 invoked by uid 99); 11 Dec 2012 13:44:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Dec 2012 13:44:18 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Dec 2012 13:44:15 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 9F51C23888CD; Tue, 11 Dec 2012 13:43:54 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1420156 [1/3] - in /xmlgraphics/site/trunk/content/fop: 1.0/embedding.mdtext 1.0/servlets.mdtext 1.1/servlets.mdtext changes.mdtext trunk/servlets.mdtext Date: Tue, 11 Dec 2012 13:43:53 -0000 To: commits@xmlgraphics.apache.org From: psancho@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20121211134354.9F51C23888CD@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: psancho Date: Tue Dec 11 13:43:51 2012 New Revision: 1420156 URL: http://svn.apache.org/viewvc?rev=1420156&view=rev Log: (re)fixed links to img + minor changes in code formatting Modified: xmlgraphics/site/trunk/content/fop/1.0/embedding.mdtext xmlgraphics/site/trunk/content/fop/1.0/servlets.mdtext xmlgraphics/site/trunk/content/fop/1.1/servlets.mdtext xmlgraphics/site/trunk/content/fop/changes.mdtext xmlgraphics/site/trunk/content/fop/trunk/servlets.mdtext Modified: xmlgraphics/site/trunk/content/fop/1.0/embedding.mdtext URL: http://svn.apache.org/viewvc/xmlgraphics/site/trunk/content/fop/1.0/embedding.mdtext?rev=1420156&r1=1420155&r2=1420156&view=diff ============================================================================== --- xmlgraphics/site/trunk/content/fop/1.0/embedding.mdtext (original) +++ xmlgraphics/site/trunk/content/fop/1.0/embedding.mdtext Tue Dec 11 13:43:51 2012 @@ -291,7 +291,7 @@ There are several options to consider: - Depending on the target OutputStream (in case of a FileOutputStream, but not for a ByteArrayOutputStream, for example) it may improve performance considerably if you buffer the OutputStream using a BufferedOutputStream: :::java - `out = new java.io.BufferedOutputStream(out);` + out = new java.io.BufferedOutputStream(out); Make sure you properly close the OutputStream when FOP is finished. Modified: xmlgraphics/site/trunk/content/fop/1.0/servlets.mdtext URL: http://svn.apache.org/viewvc/xmlgraphics/site/trunk/content/fop/1.0/servlets.mdtext?rev=1420156&r1=1420155&r2=1420156&view=diff ============================================================================== --- xmlgraphics/site/trunk/content/fop/1.0/servlets.mdtext (original) +++ xmlgraphics/site/trunk/content/fop/1.0/servlets.mdtext Tue Dec 11 13:43:51 2012 @@ -166,7 +166,7 @@ Some versions of Internet Explorer will - Give IEx the opportunity to cache. In particular, ensure the server does not set any headers causing IEx not to cache the content. This may be a real problem if the document is sent over HTTPS, because most IEx installations will by default *not* cache any content retrieved over HTTPS. Setting the `Expires` header entry may help in this case: :::java - `response.setDateHeader("Expires", System.currentTimeMillis() + cacheExpiringDuration * 1000);` + response.setDateHeader("Expires", System.currentTimeMillis() + cacheExpiringDuration * 1000); Consult your server manual and the relevant RFCs for further details on HTTP headers and caching. Modified: xmlgraphics/site/trunk/content/fop/1.1/servlets.mdtext URL: http://svn.apache.org/viewvc/xmlgraphics/site/trunk/content/fop/1.1/servlets.mdtext?rev=1420156&r1=1420155&r2=1420156&view=diff ============================================================================== --- xmlgraphics/site/trunk/content/fop/1.1/servlets.mdtext (original) +++ xmlgraphics/site/trunk/content/fop/1.1/servlets.mdtext Tue Dec 11 13:43:51 2012 @@ -165,7 +165,8 @@ Some versions of Internet Explorer will - Give IEx the opportunity to cache. In particular, ensure the server does not set any headers causing IEx not to cache the content. This may be a real problem if the document is sent over HTTPS, because most IEx installations will by default *not* cache any content retrieved over HTTPS. Setting the `Expires` header entry may help in this case: - `response.setDateHeader("Expires", System.currentTimeMillis() + cacheExpiringDuration * 1000);` + :::java + response.setDateHeader("Expires", System.currentTimeMillis() + cacheExpiringDuration * 1000); Consult your server manual and the relevant RFCs for further details on HTTP headers and caching. --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscribe@xmlgraphics.apache.org For additional commands, e-mail: commits-help@xmlgraphics.apache.org