On 27 February 2014 17:30, Rainer Jung <[email protected]> wrote: > On 26.02.2014 23:47, [email protected] 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 >
