rename previous clearsessioncache to clearcache, and add a new clearsessioncache option.