Django Book 翻译
菜单>:
TOC
返回
原文:
To *cache* something is to save the result of an expensive calculation so that you dont have to perform the calculation next time. Heres some pseudocode explaining how this would work for a dynamically generated Web page:
翻译:
缓存的目的是为了避免重复计算,特别是对一些比较耗时间、资源的计算。下面的伪代码演示了如何对动态页面的结果进行缓存。
备注:
译者: