You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by IanPea <ia...@gmail.com> on 2017/03/11 19:33:24 UTC

REST Producer with HTTP-cache



Can HTTP-CACHE (for Http-Responses), be configured into REST-Producers.
(e.g. Jetty, Http4, ..) ??

Goal being, to serve HTTP GET-requests from local cache,( if containing the
requested content.)
Not unneccesarily increasing the Network-load

HTTP has cache-directives for instrumenting HTTP-cache. Does Camel
REST-components 
support such HTTP_Caching?

Kind regards
  Ian Pea.




--
View this message in context: http://camel.465427.n5.nabble.com/REST-Producer-with-HTTP-cache-tp5795292.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: REST Producer with HTTP-cache

Posted by souciance <so...@gmail.com>.
Perhaps not in the restlet but it seems you can achieve similar
functionality using memcache and camel. See here
http://stackoverflow.com/questions/20628545/caching-http-requests-using-apache-camel

On Sat, Mar 11, 2017 at 8:33 PM, IanPea [via Camel] <
ml-node+s465427n5795292h15@n5.nabble.com> wrote:

>
>
>
> Can HTTP-CACHE (for Http-Responses), be configured into REST-Producers.
> (e.g. Jetty, Http4, ..) ??
>
> Goal being, to serve HTTP GET-requests from local cache,( if containing
> the requested content.)
> Not unneccesarily increasing the Network-load
>
> HTTP has cache-directives for instrumenting HTTP-cache. Does Camel
> REST-components
> support such HTTP_Caching?
>
> Kind regards
>   Ian Pea.
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
> http://camel.465427.n5.nabble.com/REST-Producer-with-HTTP-
> cache-tp5795292.html
> To start a new topic under Camel - Users, email
> ml-node+s465427n465428h31@n5.nabble.com
> To unsubscribe from Camel - Users, click here
> <http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=465428&code=c291Y2lhbmNlLmVxZGFtLnJhc2h0aUBnbWFpbC5jb218NDY1NDI4fDE1MzI5MTE2NTY=>
> .
> NAML
> <http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: http://camel.465427.n5.nabble.com/REST-Producer-with-HTTP-cache-tp5795292p5795293.html
Sent from the Camel - Users mailing list archive at Nabble.com.