Active
Project:
Disposable e-mail protection
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
27 Apr 2011 at 07:41 UTC
Updated:
28 Apr 2011 at 07:31 UTC
the list of disposable email domains is long and growing, however only a
handful are likely to be submitted to a given site. It seems that a local
cache would provide fast response and eliminate redundant queries.
Comments
Comment #1
advseb commentedI'm not sure if caching is a good idea. Some domains might get removed from the list and there is no way to get aware of that. However, we could do like a flush every 24 hours of the cache. Do you think that would be enough?
Comment #2
skizzo commentedI see... I guess the flushing period should be configurable, as different sites may have widely different needs (e.g.: 3 registration per day, or 300). Actually, reporting the number of "disposable-email attempts" in status page (similar to what Captcha does for blocked forms) would help the administrator in making an informed decision.
Comment #3
skizzo commentedMaybe the cache could be flushed at cron based on the (configurable)
number of entries that it contains, rather than on elapsed time?