added secondsToCache back in as an option