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

Visibility

REST is designed to be visible and simple. Visibility of the service means that every aspect of it should self-descriptive and follow the natural HTTP language according to principles 3, 4, and 5.

Visibility in the context of the outer world would mean that monitoring applications would be interested only in the HTTP communication between the REST service and the caller. Since the requests and responses are stateless and atomic, nothing more is needed to flow the behavior of the application and to understand whether anything has gone wrong.

Remember that caching reduces the visibility of your RESTful applications and in general should be avoided, unless needed for serving resources subject to large amounts of callers. In such cases, caching may be an option, after carefully evaluating the possible consequences of serving obsolete data.
主站蜘蛛池模板: 阿坝县| 上林县| 望谟县| 正阳县| 河池市| 商丘市| 贵阳市| 江孜县| 新田县| 景谷| 昭平县| 东方市| 遂宁市| 昭平县| 青神县| 晋宁县| 晴隆县| 随州市| 无极县| 望谟县| 资源县| 南昌市| 思南县| 萝北县| 盐城市| 洛隆县| 包头市| 衡东县| 财经| 新泰市| 和平县| 临漳县| 思南县| 苍梧县| 阿鲁科尔沁旗| 凤庆县| 宾阳县| 昂仁县| 临朐县| 青龙| 江孜县|