You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jmeter.apache.org by Rainer Jung <ra...@kippdata.de> on 2014/02/27 18:30:22 UTC
Re: svn commit: r1572319 - in /jmeter/trunk: bin/jmeter.properties
src/protocol/http/org/apache/jmeter/protocol/http/control/CacheManager.java
xdocs/changes.xml
On 26.02.2014 23:47, sebb@apache.org wrote:
> Author: sebb
> Date: Wed Feb 26 22:47:42 2014
> New Revision: 1572319
>
> URL: http://svn.apache.org/r1572319
> Log:
> HTTP Cache Manager should not cache PUT/POST etc.
> Bugzilla Id: 56162
>
> Modified:
> jmeter/trunk/bin/jmeter.properties
> jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/CacheManager.java
> jmeter/trunk/xdocs/changes.xml
>
> Modified: jmeter/trunk/bin/jmeter.properties
> URL: http://svn.apache.org/viewvc/jmeter/trunk/bin/jmeter.properties?rev=1572319&r1=1572318&r2=1572319&view=diff
> ==============================================================================
> --- jmeter/trunk/bin/jmeter.properties (original)
> +++ jmeter/trunk/bin/jmeter.properties Wed Feb 26 22:47:42 2014
> @@ -386,6 +386,14 @@ log_level.jorphan=INFO
> #httpclient3.retrycount=0
>
> #---------------------------------------------------------------------------
> +# HTTP Cache Manager configuration
> +#---------------------------------------------------------------------------
> +#
> +# Space or comma separated list of methods that can be cached
> +cacheable_methods=GET
> +# N.B. This property is currently a temporary solution for Bug 56162
Is HEAD in this context handled like GET, or should we also add it to
the default?
Regards,
Rainer
Re: svn commit: r1572319 - in /jmeter/trunk: bin/jmeter.properties
src/protocol/http/org/apache/jmeter/protocol/http/control/CacheManager.java xdocs/changes.xml
Posted by sebb <se...@gmail.com>.
On 27 February 2014 17:30, Rainer Jung <ra...@kippdata.de> wrote:
> On 26.02.2014 23:47, sebb@apache.org wrote:
>> Author: sebb
>> Date: Wed Feb 26 22:47:42 2014
>> New Revision: 1572319
>>
>> URL: http://svn.apache.org/r1572319
>> Log:
>> HTTP Cache Manager should not cache PUT/POST etc.
>> Bugzilla Id: 56162
>>
>> Modified:
>> jmeter/trunk/bin/jmeter.properties
>> jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/CacheManager.java
>> jmeter/trunk/xdocs/changes.xml
>>
>> Modified: jmeter/trunk/bin/jmeter.properties
>> URL: http://svn.apache.org/viewvc/jmeter/trunk/bin/jmeter.properties?rev=1572319&r1=1572318&r2=1572319&view=diff
>> ==============================================================================
>> --- jmeter/trunk/bin/jmeter.properties (original)
>> +++ jmeter/trunk/bin/jmeter.properties Wed Feb 26 22:47:42 2014
>> @@ -386,6 +386,14 @@ log_level.jorphan=INFO
>> #httpclient3.retrycount=0
>>
>> #---------------------------------------------------------------------------
>> +# HTTP Cache Manager configuration
>> +#---------------------------------------------------------------------------
>> +#
>> +# Space or comma separated list of methods that can be cached
>> +cacheable_methods=GET
>> +# N.B. This property is currently a temporary solution for Bug 56162
>
> Is HEAD in this context handled like GET,
No, only methods listed are cached.
> or should we also add it to the default?
Not sure that's a good idea.
HEAD is often used to probe a connection, also the respose to a HEAD
is not very large.
AFAICT, the HC cache implementation only caches GET.
> Regards,
>
> Rainer
>