You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by bu...@apache.org on 2011/09/28 05:11:53 UTC

svn commit: r796302 - /websites/staging/trafficserver/trunk/content/docs/trunk/admin/http-proxy-caching/index.en.html

Author: buildbot
Date: Wed Sep 28 03:11:53 2011
New Revision: 796302

Log:
Staging update by buildbot

Modified:
    websites/staging/trafficserver/trunk/content/docs/trunk/admin/http-proxy-caching/index.en.html

Modified: websites/staging/trafficserver/trunk/content/docs/trunk/admin/http-proxy-caching/index.en.html
==============================================================================
--- websites/staging/trafficserver/trunk/content/docs/trunk/admin/http-proxy-caching/index.en.html (original)
+++ websites/staging/trafficserver/trunk/content/docs/trunk/admin/http-proxy-caching/index.en.html Wed Sep 28 03:11:53 2011
@@ -78,6 +78,7 @@ other tasks. </p>
 <li><a href="#PushingContentintoCache">Pushing Content into the Cache</a><ul>
 <li><a href="#ConfiguringTSPUSHRequests">Configuring Traffic Server for PUSH Requests</a></li>
 <li><a href="#UnderstandingHTTPPUSH">Understanding HTTP PUSH</a></li>
+<li><a href="#ToolsForHTTPPUSH">Tools that will help manage pushing</a></li>
 </ul>
 </li>
 <li><a href="#PinningContentinCache">Pinning Content in the Cache</a></li>
@@ -385,19 +386,11 @@ disable the option. To disable the Force
 configure Traffic Server to accept <code>PUSH</code> requests.</p>
 <p>To configure Traffic Server to accept <code>PUSH</code> requests</p>
 <ol>
-<li>
-<p>Edit <a href="../configuration-files/filter.config"><code>filter.config</code></a>, adding the following filter rules to the file to ensure that only certain IP addresses can deliver <code>PUSH</code> requests to the cache:</p>
-<div class="codehilite"><pre>domain=. src_ip=ipaddress method=PUSH action=allow
-domain=. method=PUSH action=deny
-</pre></div>
-
-
-<p>where <em><code>ipaddress</code></em> is the IP address of the host or range of IP addresses of the hosts from
-   which Traffic Server accepts <code>PUSH</code> requests. </p>
+<li>Edit <a href="../configuration-files/records.config"><code>records.config</code></a>, modify the super mask to allow <code>PUSH</code> request.<ul>
+<li><a href="../configuration-files/records.config#proxy.config.http.quick_filter.mask"><em><code>proxy.config.http.quick_filter.mask</code></em></a></li>
+</ul>
 </li>
-<li>
-<p>Edit the following variable in <a href="../configuration-files/records.config"><code>records.config</code></a></p>
-<ul>
+<li>Edit the following variable in <a href="../configuration-files/records.config"><code>records.config</code></a>, enable the push_method.<ul>
 <li><a href="../configuration-files/records.config#proxy.config.http.push_method_enabled"><em><code>proxy.config.http.push_method_enabled</code></em></a></li>
 </ul>
 </li>
@@ -422,6 +415,8 @@ a
 
 <p><strong>IMPORTANT:</strong> Your header must include <code>Content-length</code> - <code>Content-length</code> 
 must include both <code>header</code> and <code>body byte count</code>.</p>
+<h2 id="ToolsForHTTPPUSH">Tools that will help manage pushing</h2>
+<p>There is a perl script for pushing, <a href="https://svn.apache.org/repos/asf/trafficserver/traffic/trunk/tools/push.pl"><code>tools/push.pl</code></a>, which can help you understanding how to write some script for pushing content.</p>
 <h1 id="PinningContentinCache">Pinning Content in the Cache</h1>
 <p>The <strong>Cache Pinning Option</strong> configures Traffic Server to keep certain HTTP 
 objects in the cache for a specified time. You can use this option to ensure