def get_emerg():
    """Get the cached FCPS emergency page, or check it again.

    Timeout defined in settings.CACHE_AGE["emerg"]

    """
    key = "emerg:{}".format(datetime.datetime.now().date())
    cached = cache.get(key)
    cached = None  # Remove this for production
    if cached:
        logger.debug("Returning emergency info from cache")
        return cached
    else:
        result = get_emerg_result()
        cache.set(key, result, timeout=settings.CACHE_AGE["emerg"])
        return result
Get the cached FCPS emergency page, or check it again.

    Timeout defined in settings.CACHE_AGE["emerg"]