Lines Matching full:cache
49 max_age: The maximum client-side cache lifetime
50 public: Whether this should be declared public in the client-side cache
92 zipfile_cache = {} # class cache of source zip files
93 MAX_AGE = 600 # max client-side cache lifetime
94 PUBLIC = True # public cache setting
95 CACHE_PREFIX = 'cache://' # memcache key prefix for actual URLs
257 Attempts to retrieve the requested file (name) from cache,
258 negative cache, or store (zip) and form the response.
288 logging.info(' Cache miss for %s', name)
294 # ELSE put it in the negative cache
302 logging.info(' Adding %s to negative cache, serving 404', name)
307 # found it in negative cache
311 # found content from cache or store
322 # revalidate html files -- workaround for cache inconsistencies for
391 dependency injection for testing. This method will look at our file cache
392 first, and then load and cache the file if there's a cache miss
509 self.response.headers['Cache-Control'] = ', '.join(cache_control)
523 """Store data in the cache.
540 logging.warning('Data size too large to cache\n%s' % err)
551 """If a non-existant URL is accessed, cache this result as well.
553 Future work should consider setting a maximum negative cache size to
554 prevent it from from negatively impacting the real cache.
557 filename: URL to add ot negative cache
565 """Retrieve from negative cache.
571 The file contents if present in the negative cache.