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