For XML based representations, if required, use an XML schema to document the structure of each representation.
对于基于XML的表示,如果需要,使用XML模式记录每个表示的结构。
Any REST-based system should anticipate the client need to access related resources and should include them in the representations of the resource returned.
任何基于REST的系统都应该预见到客户机需要访问相关的资源,应该在返回的资源具象中包含这些资源。
All caches make decisions about which representations to keep based upon their size, type (e.g., image vs. html), or by how much space they have left to keep local copies.
所有的缓存服务器都回基于文件的大小,类型(例如:图片 页面),或者服务器空间的剩余来确定如何缓存。
应用推荐