Invalidate all pages for a certain path.

def invalidate_paths(paths):
    '''
    Invalidate all pages for a certain path.
    '''
    for path in paths:
        for key in all_cache_keys_from_path(path):
            InvalidationLogger.invalidate(path, key)
            dumper.utils.cache.delete(key)