Added backwards-compatible, deprecated version of withCacheSeconds()