Use caches settings for session.