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



Classes [hide private]
  CacheAbstract
Abstract class for cache implementations.
  CacheInRam
Ram based caching
  CacheOnDisk
Disk based cache
  Cache
Sets up generic caching, creating an instance of both CacheInRam and CacheOnDisk.
Variables [hide private]
  logger = logging.getLogger("web2py.cache")
  DEFAULT_TIME_EXPIRE = 300