Expire seconds variable was renamed and not updated in cacheResult()