Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(12)  |  Call(6)  |  Derive(0)  |  Import(6)
Stores responses in a persistant on-disk cache.

If a subsequent GET request is made for the same URL, the stored
response is returned, saving time, resources and bandwidth

src/e/u/euscan-HEAD/pym/euscan/helpers.py   euscan(Download)
 
    if CONFIG['cache']:
        from cache import CacheHandler
        handlers.append(CacheHandler(CONFIG['cache']))
 

src/t/v/tvtags-0.7.0/tvdb_api/tvdb_api.py   tvtags(Download)
    import xml.etree.ElementTree as ElementTree
 
from cache import CacheHandler
 
from tvdb_ui import BaseUI, ConsoleUI
        if self.config['cache_enabled']:
            self.urlopener = urllib2.build_opener(
                CacheHandler(self.config['cache_location'])
            )
        else:

src/m/y/mythboxee-HEAD/ttvdb/tvdb_api.py   mythboxee(Download)
    import xml.etree.ElementTree as ElementTree
 
from cache import CacheHandler
 
from tvdb_ui import BaseUI, ConsoleUI
        if self.config['cache_enabled']:
            self.urlopener = urllib2.build_opener(
                CacheHandler(self.config['cache_location'])
            )
        else:

src/m/p/mp4tvtags-HEAD/tvdb_api.py   mp4tvtags(Download)
    import xml.etree.ElementTree as ElementTree
 
from cache import CacheHandler
 
from tvdb_ui import BaseUI, ConsoleUI
        if self.config['cache_enabled']:
            self.urlopener = urllib2.build_opener(
                CacheHandler(self.config['cache_location'])
            )
        else:

src/d/j/djpcms-0.9a1/djpcms/cms/site.py   djpcms(Download)
from .management import find_commands
from .permissions import PermissionHandler, SimpleRobots
from .cache import CacheHandler
from .views import ViewRenderer
from .submit import SubmitDataMiddleware
DEFAULT_SITE_HANDLERS = {
    'meta_robots': SimpleRobots,
    'cache': CacheHandler()
}
 

src/d/j/djpcms-HEAD/djpcms/cms/site.py   djpcms(Download)
from .management import find_commands
from .permissions import PermissionHandler, SimpleRobots
from .cache import CacheHandler
from .views import ViewRenderer
from .submit import SubmitDataMiddleware
DEFAULT_SITE_HANDLERS = {
    'meta_robots': SimpleRobots,
    'cache': CacheHandler()
}