cache的工作原理(国外英文资料).docVIP

  • 28
  • 0
  • 约1.97万字
  • 约 19页
  • 2017-06-05 发布于河南
  • 举报
cache的工作原理(国外英文资料)

cache的工作原理 Yang jian: website acceleration -- Cache is king 2012-01-11 23:29 [small big] source: Yang jians BLOG comment: 0 shares to: Baidu weight query station long trade friendship link exchange website construction, website design, enterprise construction station look for 313 Improving performance will save you more than 10 times the cost. One. Cache, wang dao I think system architecture should not only build a strong can withstand the huge background of concurrent pressure, the front page is also need architecture and equally important, dont understand the front desk of the background of engineer is not qualified. The Chinese are exquisite in steel, the backstage toughness can only say that you have deep inner strength, the front end USES the coincidence, that call four two dials. Little concern for the general background engineers front how to use its own resources, while the front-end engineer, dont know their a simple usage can cause much impact to the back-end. Im going to give you some data to impress your eyeballs. Second, the basic principle of Cache (reference Caching Tutorial) Why Cache? Reduce latency and make your site faster and more user experience. Avoid network congestion, reduce request quantity, and reduce output bandwidth. Add a cache principle: the unupdated resource should not allow it to generate an HTTP request again, and if the request is made, see if it can return 304. The types of Cache? Browser Cache, proxy Cache, gateway Cache. The back end also has disk cache, server cache, PHP cache, but its not part of our discussion today. How does the Cache work? If the response header tells the cache not to cache it, the cache does not cache it; It will not be cached if the request needs to be validated or if it needs security. If there are no ETag or last-modify-fed headers in the response, and no explicit information tells you how to keep the data fresh, it is considered uncacheable. In the following cases, a cache item is considered fresh (th

文档评论(0)

1亿VIP精品文档

相关文档