Wsgi_cache v.0.2.2

Advertisement
Advertisement

wsgi_cache is a piece of WSGI middleware that provides disk caching for WSGI applications. It is somewhat coarse and rather inflexible, sort of like your grandpa.wsgi_cache is designed to cache requests to a WSGI site to disk in a cache directory on disk. The cache directory will have the same directory layout as the requests (ie, if /foo/bar is requested, the foo directory will be made in the cache and bar will be stored there). There is no cache expiration beyond deleting cached files from the disk. This is a feature.Installationwsgi_cache can be installed as a Python egg, using easy_install:$ easy_install wsgi_cacheConfigurationConfiguration of wsgi_cache will often be done using Paste Deploy. In this situation, it can be configured as a filter:[app:main]use = egg:my_wsgi_app#appfilter-with = cache[filter:cache]use = egg:wsgi_cache#middlewarecache_dir = ./cacheThe cache_dir is the only required configuration parameter, and will be interpreted as relative to global_conf['here'].wsgi_cache also supports three additional configuration parameters: * content_type Specifies the content type used when serving cached resources; see Limitations below for details on this. By default this is set to text/html. * cache_paths A comma separated list of paths, starting with a /, that specifies the paths to cache. If specified, only requests to paths starting with one of these strings will be cached. * directory_index When accessing a path that ends in a / (like /monkeys/), wsgi_cache needs to create a special filename. By default this is __index.html. So by default, caching the page /monkeys/ saves to the file ${path_to_cache}/monkeys/__index.html; if we set directory_index to dir_x it would save to ${path_to_cache}/monkeys/dirx.

wsgi_cache is a piece of WSGI middleware that ... WSGI middleware for caching responses to disk.

 
  • Freeware
  • 10 Kb
  • 201
  • Free
 
 

Review Wsgi_cache

  • captcha
 

Other software of Nathan R. Yergler
    
    New File Management software
    • Deli PDF Converter  v.3.1.0A reliable & fast solution to help convert PDF to Word, JPG, PNG, BMP, TIFF, GIF, HTML, FLASH, RTF, TXT, CBZ, etc. and with Deli PDF Converter you can also rotate, compress, lock/unlock, split, merge the PDF files.
    • Aiseesoft FoneTrans  v.9.1.16Aiseesoft FoneTrans provides best solution for users to transfer iOS data to iPhone/iPad/iPod/iTunes/computer or transfer files from computer/iTunes to iDevices. It supports all iOS devices (iOS 12 included) and compatible with the latest iTunes.
    • Aiseesoft MobieSync  v.2.0.12Aiseesoft MobieSync provides the best solution for users to transfer various data between iOS/Android device and computer or between iOS and Android device. With MobieSync, phone data transferring is an easy case.
    • Extra Subst  v.5.7Extra Subst - program designed to make access to frequently used folders of your computer easier. It is also used to create, edit and remove virtual drives of your computer.
    • SimpleRenamer  v.1.1This is a simple rename-tool with some nice options written in Python.
    • Django-filer  v.0.8.2A file management application for django that makes handling of files and images a breeze.