jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philippe Mouawad <philippe.moua...@gmail.com>
Subject Re: Should "Cache Manager" cache content with Cache-control=private?
Date Sun, 08 Jul 2012 09:45:09 GMT
Hello,
Reading specification:
private Indicates that all or part of the response message is intended for
a single user and MUST NOT be cached by a shared cache. This allows an
origin server to state that the specified parts of the
response are intended for only one user and are not a valid response for
requests by other users. A private (non-shared) cache MAY cache the
response.

*Note:* This usage of the word private only controls where the response may
be cached, and cannot ensure the privacy of the message content.


So I agree with you "titou10 titou 10" that JMeter should cache entry. I
checked code and in fact it is not doing so.
Bug is now fixed:

   - https://issues.apache.org/bugzilla/show_bug.cgi?id=53521

Feel free to download nightly build when it's available and check if issue
is fixed for you

Regards

Philippe M.

http://www.ubik-ingenierie.com


On Sun, Jul 8, 2012 at 1:34 AM, 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.
>
> So I am unsure why you had to make a patch.
>
> 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
> >
> >
>



-- 
Cordialement.
Philippe Mouawad.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message