Cache expire should always be an int, this also fixes #70 which provided an example with str expire