cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-5996) respect client cache headers
Date Fri, 12 Sep 2014 09:16:34 GMT

    [ https://issues.apache.org/jira/browse/CXF-5996?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14131313#comment-14131313
] 

Sergey Beryozkin commented on CXF-5996:
---------------------------------------

Hi Romain, 
That was quick :-), thanks. FYI, I've opened https://java.net/jira/browse/JAX_RS_SPEC-485
to get a spec-compliant approach for cloing the filters.
This will work only if a filter instance is created per client though.

I wonder if it should be done with the help of ClientRequestFilter ? It would check the cache
headers, if the entity is available locally, it would return Response with the object set
and then ReaderInterceptor would block reading the actual input stream ? 

Cheers, Sergey

> respect client cache headers
> ----------------------------
>
>                 Key: CXF-5996
>                 URL: https://issues.apache.org/jira/browse/CXF-5996
>             Project: CXF
>          Issue Type: New Feature
>            Reporter: Romain Manni-Bucau
>         Attachments: client-jaxrs-cache-control.zip
>
>
> Hi
> would be great to get a mecanism (maybe using jcache as abstraction) to respect on client
side http cache headers



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message