xmlgraphics-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r841693 [3/3] - in /websites/staging/xmlgraphics/trunk/content: ./ fop/1.0/embedding.html fop/1.0/servlets.html fop/1.1/servlets.html fop/changes.html fop/trunk/servlets.html
Date Tue, 11 Dec 2012 13:44:07 GMT
Modified: websites/staging/xmlgraphics/trunk/content/fop/trunk/servlets.html
==============================================================================
--- websites/staging/xmlgraphics/trunk/content/fop/trunk/servlets.html (original)
+++ websites/staging/xmlgraphics/trunk/content/fop/trunk/servlets.html Tue Dec 11 13:44:06
2012
@@ -494,7 +494,7 @@ The <code>Source</code> instance used ab
 </li>
 <li>
 <p>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 <em>not</em>
cache any content retrieved over HTTPS. Setting the <code>Expires</code> header
entry may help in this case:</p>
-<div class="codehilite"><pre><span class="err">`</span><span class="n">response</span><span
class="o">.</span><span class="na">setDateHeader</span><span class="o">(</span><span
class="s">&quot;Expires&quot;</span><span class="o">,</span>
<span class="n">System</span><span class="o">.</span><span class="na">currentTimeMillis</span><span
class="o">()</span> <span class="o">+</span> <span class="n">cacheExpiringDuration</span>
<span class="o">*</span> <span class="mi">1000</span><span class="o">);</span><span
class="err">`</span>
+<div class="codehilite"><pre><span class="n">response</span><span
class="o">.</span><span class="na">setDateHeader</span><span class="o">(</span><span
class="s">&quot;Expires&quot;</span><span class="o">,</span>
<span class="n">System</span><span class="o">.</span><span class="na">currentTimeMillis</span><span
class="o">()</span> <span class="o">+</span> <span class="n">cacheExpiringDuration</span>
<span class="o">*</span> <span class="mi">1000</span><span class="o">);</span>
 </pre></div>
 
 



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: commits-help@xmlgraphics.apache.org


Mime
View raw message