I'm trying to find out how Magento 2 handles the storage of the response. I know that it stores the raw data in /var/page_cache/ folder, but I would like to know which part of the code handles the storage of a page?
I looked every file in the PageCache module with no luck. Could you point me into the right direction?
Page cache module: https://github.com/magento/magento2/tree/develop/app/code/Magento/PageCache