scrapy/scrapy

Improve DNS caching

Open

#905 创建于 2014年9月25日

在 GitHub 查看
 (8 评论) (0 反应) (0 负责人)Python (61,658 star) (11,547 fork)batch import
enhancementhelp wantedin progresspatch available

描述

Currently, Scrapy does caching of DNS by default (setting DNSCACHE_ENABLED is True on default settings).

The current cache implementation does not implement an expiration for the entries which may result in entries that be kept ad infinitum. We need change the current implementation to set an expiration time by default (typical TTL is 86400 seconds -24 hours-) or maybe, customizable by a setting.

贡献者指南