How do i make CloudFlare to work with Dreamhost

I am running a WooCommerce store and just moved to Dreamhost. How do i make CloudFlare to work with Dreamhost so Dreamhost can use it serverside cache and CloudFlare wont interfer with this. At the moment it seems CloudFlare doing all cache