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

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.

主站蜘蛛池模板: 荆州市| 新余市| 易门县| 怀集县| 临澧县| 淮安市| 通许县| 长寿区| 青神县| 大方县| 宣恩县| 修水县| 香格里拉县| 侯马市| 铁岭县| 紫云| 璧山县| 郑州市| 河北省| 兴安县| 永修县| 黔南| 上栗县| 清原| 清远市| 将乐县| 永靖县| 民和| 东阳市| 平塘县| 姜堰市| 苍梧县| 贵德县| 灵寿县| 肃宁县| 信阳市| 信宜市| 荥经县| 客服| 永吉县| 西畴县|