Skip to content

7.3 Examples: Cache (Redis)

Gurdeep Singh (Guru) edited this page Jun 30, 2024 · 1 revision

To cache all hash files to redis server using default settings

./hibp cache

This option can also be used with download command, which will download the file and cache it on the fly.

./hibp download --cache=true

You can also define redis server host

./hibp cache --cache-host=10.10.10.1:6379

By default, passwords breached more than 500 times are cached to Redis for quick lookup. You can change that by --cache-count argument.

./hibp cache --cache-count=100
Clone this wiki locally