private function setConfigValues()
    {
        if (isset($this->config['min_cache_file_size']) && is_numeric($this->config['min_cache_file_size'])) {
            $this->setMinCacheFileSize($this->config['min_cache_file_size']);
        }

        //Enable Log
        if (isset($this->config['enable_log']) && $this->isBool($this->config['enable_log'])) {
            $this->setEnableLog($this->config['enable_log']);
        }

        //Cache Expiration Time
        if (isset($this->config['cache_expiration_in_seconds'])) {
            $this->setCacheExpirationInSeconds($this->config['cache_expiration_in_seconds']);
        }

        // Path to store cache files
        if (isset($this->config['cache_path'])) {
            $this->setCachePath($this->config['cache_path']);
        }

        // Log file path
        if (isset($this->config['log_file_path']) && !empty($this->config['log_file_path'])) {
            $this->setLogFilePath($this->config['log_file_path']);
        }

        // Use $_SESSION while caching or not
        if (isset($this->config['use_session']) && $this->isBool($this->config['use_session'])) {
            $this->setUseSession($this->config['use_session']);
        }

        // Session exclude key
        if (isset($this->config['session_exclude_keys']) && is_array($this->config['session_exclude_keys'])) {
            $this->setSessionExcludeKeys($this->config['session_exclude_keys']);
        }

        // File Locking
        if (isset($this->config['file_lock']) && !empty($this->config['file_lock'])) {
            $this->setFileLock($this->config['file_lock']);
        }

        // Send HTTP headers
        if (isset($this->config['send_headers']) && $this->isBool($this->config['send_headers'])) {
            $this->setSendHeaders($this->config['send_headers']);
        }

        // Forward Last-Modified and ETag headers to cache item
        if (isset($this->config['forward_headers']) && $this->isBool($this->config['forward_headers'])) {
            $this->setForwardHeaders($this->config['forward_headers']);
        }

        // Enable Dry run mode
        if (isset($this->config['dry_run_mode']) && $this->isBool($this->config['dry_run_mode'])) {
            $this->setDryRunMode($this->config['dry_run_mode']);
        }
    }