web2py.gluon.cache

Package web2py :: Package gluon :: Module cache |
[hide private]
[frames] | no frames]

# Module cache

source code
This file is part of the web2py Web Framework Copyrighted by Massimo Di Pierro <mdipierro@cs.depaul.edu> License: LGPLv3 (http://www.gnu.org/licenses/lgpl.html)

# Basic caching classes and methods

- Cache - The generic caching object interfacing with the others
- CacheInRam - providing caching in ram

- CacheInDisk - provides caches on disk

  Memcache is also available via a different module (see gluon.contrib.memcache)

  When web2py is running on Google App Engine, caching will be provided by the GAE memcache (see gluon.contrib.gae_memcache)

Classes | [hide private]
| Cache Sets up generic caching, creating an instance of both CacheInRam and CacheOnDisk.
| CacheAbstract Abstract class for cache implementations.
| CacheInRam Ram based caching
| CacheOnDisk Disk based cache

Variables | [hide private]
| DEFAULT_TIME_EXPIRE = `300`
| logger = `<logging.Logger instance at 0xe0bea8>`