Re:If you have REST, why use XML-RPC?
by ramen on Thursday January 14, 2010 @01:21PM
(#1053188)
Caching has been the main reason I have chosen REST over XML-RPC in certain instances - the ability to use existing web proxy and caching solutions to cache an API is certainly convenient. However, I completely agree about your last sentence here. Cache invalidation is tricky, since there isn't a standard HTTP method to tell a web cache to forget something it has cached. Also, client-side caching at a higher level using something like memcached has worked demonstrably better for me in many instances, and it offers more fine-tuned control over lifetime and expiration.
[ Parent
| on HN ]
There are no comments on this comment yet.