官术网_书友最值得收藏!

Cacheable

With RESTful web services, a client can cache any response coming from the server. The server can mention how, and for how long, it can cache the responses. With the caching option, a client can use the responses instead of contacting the server again. Also, caching will improve scalability and performance by avoiding client-server interactions all the time.

This principle has significant advantages for scalability. Caching techniques will be discussed in Chapter 8, Performance.

Since REST typically leverages HTTP, it inherits all the caching properties that HTTP offers.

主站蜘蛛池模板: 夏邑县| 新乐市| 子洲县| 涡阳县| 镇宁| 宜都市| 广汉市| 玛沁县| 通许县| 朔州市| 望都县| 来宾市| 安乡县| 临颍县| 浮梁县| 彰化市| 昌乐县| 台中市| 南平市| 天水市| 武冈市| 韩城市| 禹城市| 陇南市| 吉安市| 永寿县| 疏勒县| 河北省| 南和县| 三都| 赤城县| 寿阳县| 陕西省| 中西区| 融水| 邢台县| 枣强县| 金山区| 梨树县| 新泰市| 霍山县|