{"id":105,"date":"2008-07-21T16:45:35","date_gmt":"2008-07-21T21:45:35","guid":{"rendered":"http:\/\/www.kralidis.ca\/blog\/?p=105"},"modified":"2008-07-21T16:50:07","modified_gmt":"2008-07-21T21:50:07","slug":"is-rest-faster","status":"publish","type":"post","link":"https:\/\/www.kralidis.ca\/blog\/2008\/07\/21\/is-rest-faster\/","title":{"rendered":"Is REST &#8220;faster&#8221;?"},"content":{"rendered":"<p>I was in a REST\/Web2.0 workshop, and someone asked how REST, since through HTTP, which is a stateless protocol, is any faster than other, or previous approaches.<\/p>\n<p>I&#8217;m not sure that REST does anything to speed up HTTP&#8217;s request\/response mechanisms; but using AJAX surely enhances the user experience with perceived responsiveness given the nature of AJAX by doing things asynchronously.<\/p>\n<p>Or is there more to it?<\/p>\n<link rel=\"stylesheet\" href=\"http:\/\/cdn.leafletjs.com\/leaflet-0.5\/leaflet.css\" \/>\n<!--[if lte IE 8]>\n  <link rel=\"stylesheet\" href=\"http:\/\/cdn.leafletjs.com\/leaflet-0.5\/leaflet.ie.css\" \/>\n<![endif]-->\n<script src=\"http:\/\/cdn.leafletjs.com\/leaflet-0.5\/leaflet.js\"><\/script>\n<style type=\"text\/css\">#map105 { width: 300px; height: 200px; }<\/style>\n\n<div id=\"map105\"><\/div>\n<script type=\"text\/javascript\">\n  var map105 = L.map('map105').setView([49.285891, -123.112192], 10);\n  L.tileLayer('http:\/\/{s}.tile.osm.org\/{z}\/{x}\/{y}.png', {\n      attribution: '&copy; <a href=\"http:\/\/osm.org\/copyright\">OpenStreetMap<\/a> contributors'\n  }).addTo(map105);\n<\/script>\n","protected":false},"excerpt":{"rendered":"<p>I was in a REST\/Web2.0 workshop, and someone asked how REST, since through HTTP, which is a stateless protocol, is any faster than other, or previous approaches. I&#8217;m not sure that REST does anything to speed up HTTP&#8217;s request\/response mechanisms; but using AJAX surely enhances the user experience with perceived responsiveness given the nature of [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,3,11],"tags":[],"class_list":["post-105","post","type-post","status-publish","format-standard","hentry","category-geospatial","category-technology","category-web"],"_links":{"self":[{"href":"https:\/\/www.kralidis.ca\/blog\/wp-json\/wp\/v2\/posts\/105","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kralidis.ca\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kralidis.ca\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kralidis.ca\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kralidis.ca\/blog\/wp-json\/wp\/v2\/comments?post=105"}],"version-history":[{"count":10,"href":"https:\/\/www.kralidis.ca\/blog\/wp-json\/wp\/v2\/posts\/105\/revisions"}],"predecessor-version":[{"id":114,"href":"https:\/\/www.kralidis.ca\/blog\/wp-json\/wp\/v2\/posts\/105\/revisions\/114"}],"wp:attachment":[{"href":"https:\/\/www.kralidis.ca\/blog\/wp-json\/wp\/v2\/media?parent=105"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kralidis.ca\/blog\/wp-json\/wp\/v2\/categories?post=105"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kralidis.ca\/blog\/wp-json\/wp\/v2\/tags?post=105"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}