juliensobrier / Net-Google-SafeBrowsing4

Net::Google::SafeBrowsing4 - Perl library for Google Safebrowsing v4
Apache License 2.0
2 stars 4 forks source link

Cache the result of get_lists #16

Closed josephcsible closed 7 years ago

josephcsible commented 7 years ago

The result of get_lists isn't cached to disk, so it gets called (and hits Google's API) at least once every time a new instance of Perl is ran. This can quickly result in 429 Too Many Requests errors, which cause the entire operation to fail.

juliensobrier commented 7 years ago

commit 93930d4855c78bcb44834b6b524a7f925e340d46