浙江省高等学校教师教育理论培训

微信搜索“教师资格证岗前培训”小程序

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

http://wsgi.org/wsgi/Middleware_and_Utilities

reference:http://beaker.groovie.org/

Beaker is a library for caching and sessions for use with web applications and stand-alone Python scripts and applications. It comes with WSGI middleware for easy drop-in use with WSGI based web applications, and caching decorators for ease of use with any Python based application.

  • Lazy-Loading Sessions: No performance hit for having sessions active in a request unless they're actually used
  • Performance: Utilizes a multiple-reader / single-writer locking system to prevent the Dog Pile effectwhen caching.
  • Mulitple Back-ends: File-based, DBM files, memcached, memory, and database (via SQLAlchemy) back-ends available for sessions and caching
  • Cookie-based Sessions: SHA-1 signatures with optional AES encryption for client-side cookie-based session storage
  • Flexible Caching: Data can be cached per function to different back-ends, with different expirations, and different keys
  • Extensible Back-ends: Add more backends using setuptools entrypoints to support new back-ends.

News


[Bottle][2] Bottle 常见问题解答

 

http://article.yeeyan.org/view/35282/120735

bottle and session beaker

http://snipplr.com/view/26459/python-web-with-bottle-and-session-beaker/

 

posted on 2010-09-14 21:21  lexus  阅读(345)  评论(0编辑  收藏  举报