Django Book 翻译
菜单>:
TOC
返回
原文:
To activate the per-site cache, just add ``'django.middleware.cache.CacheMiddleware'`` to your ``MIDDLEWARE_CLASSES`` setting, as in this example:
翻译:
要激活每个站点的cache,只要将``'django.middleware.cache.CacheMiddleware'`` 添加到 ``MIDDLEWARE_CLASSES`` 的设置里,就像下面这样:
备注:
译者: