django-cache - Django 缓存系统如何工作?

标签 django-cache django-caching

Django 缓存系统如何工作?

最佳答案

Django comes with a robust cache system that lets you save dynamic pages so they don't have to be calculated for each request. For convenience, Django offers different levels of cache granularity: You can cache the output of specific views, you can cache only the pieces that are difficult to produce, or you can cache your entire site.

检查这个article

关于django-cache - Django 缓存系统如何工作?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13542336/

相关文章:

django - Django 文件系统缓存线程安全吗?它是跨进程的吗?

django - 如何使用 native django 缓存匹配 Redis 键模式?

python - Django Shell不尊重缓存配置

django 缓存 REST API Urls 问题

Django - 多站点站点缓存

Django-缓存测试

python - 如何在 View 中使用Django缓存而不缓存所有页面

django - 如何仅为未经身份验证的用户缓存 View ?

python - Django cache_page - 预填充/预缓存