jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: Should "Cache Manager" cache content with Cache-control=private?
Date Sun, 08 Jul 2012 13:04:10 GMT
On 8 July 2012 00:34, Shmuel Krakower <shmulikk@gmail.com> wrote:
> Hi
> I think that by default all browsers are caching everything unless this
> header is set to private (or if other headers are set to not allow caching).
>
> For me JMeter cache manager caches all resources, even those without
> cache-control directive.

Depends on the JMeter setting, see below.

> So I am unsure why you had to make a patch.

The code currently looks for "public" when checking the Max-Age setting.

> Regards,
> Shmuel.
> בתאריך 2012 7 3 15:54, מאת "titou10 titou10" <titou10.titou10@gmail.com>:
>
>> The Cache Manager component in JMeter v2.7 caches only content that
>> have an header with "Cache-control=public" and a "max-age" directive
>>
>> Usually, browsers also cache content that have "Cache-control=private"
>> without max-age.. (At least firefox 13 in win7 do that)
>>
>> I have patched JMeter to do so, with an option in the GUI to activate
>> or disable caching of such content.
>>
>> Are the reason why this is not the standard behaviour?
>> Is someone else interested in this patch?
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
>> For additional commands, e-mail: user-help@jmeter.apache.org
>>
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org


Mime
View raw message