[Pdns-dev] REST Backend preview

Peter van Dijk peter.van.dijk at netherlabs.nl
Fri Feb 3 11:56:48 CET 2012


Hi Erik,

With HTTP, you need to consider that there could be multiple caches or proxies on your path. I would not suggest caching in your backend module; the 
PowerDNS query cache should cover this just fine.

Peter

On Feb 3, 2012, at 11:55 , Erik Muttersbach wrote:

> Hi Peter,
> 
> with intermediate cache you mean the http client cache? I think this should
> not be a problem as I am using boost.
> 
> Regards,
> Erik 
> 
> -----Original Message-----
> From: pdns-dev-bounces at mailman.powerdns.com
> [mailto:pdns-dev-bounces at mailman.powerdns.com] On Behalf Of Peter van Dijk
> Sent: Freitag, 3. Februar 2012 10:30
> To: pdns-dev at mailman.powerdns.com
> Subject: Re: [Pdns-dev] REST Backend preview
> 
> Hi,
> 
>> X-Powerdns-Zone-Id
>> X-Powerdns-Remote-Ip
>> X-Powerdns-Local-Ip
> 
> Don't forget to tell PowerDNS whether your response used this information
> (especially the remote IP). The Vary-header might be a good way to
> communicate this. (You'll also need Vary to make sure intermediate caches do
> the right thing.)
> 
> Kind regards,
> Peter van Dijk
> _______________________________________________
> Pdns-dev mailing list
> Pdns-dev at mailman.powerdns.com
> http://mailman.powerdns.com/mailman/listinfo/pdns-dev
> 



More information about the Pdns-dev mailing list