V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
fuxkcsdn
V2EX  ›  Python

Python 中有类似 PHP 的 Symfony Cache 组件的包吗?

  •  
  •   fuxkcsdn · 2017-05-13 19:53:26 +08:00 · 1624 次点击
    这是一个创建于 2565 天前的主题,其中的信息可能已经有所发展或是发生改变。
    Symfony Cache 组件除了实现 PSR6 接口外,还增加了 Adapter 用于存储 cache

    Adapter: It implements the actual caching mechanism to store the information in the filesystem, in a database, etc. The component provides several ready to use adapters for common caching backends (Redis, APCu, Doctrine, PDO, etc.)
    1 条回复    2017-05-13 19:59:37 +08:00
    Zzzzzzzzz
        1
    Zzzzzzzzz  
       2017-05-13 19:59:37 +08:00
    通用点的有 beaker.cache 和 dogpile.cache

    web 框架和组件自带的有 django.core.cache 和 werkzeug.contrib.cache
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   3059 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 10:49 · PVG 18:49 · LAX 03:49 · JFK 06:49
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.