I'm trying to enable Nginx FastCgi cache in Prestashop 1.7 but i cannot find any way detecting logged in users or users with active carts in order to bypass cache.
Prestashop seems to not implement a correct cache control mechanism for hearers ( Response Headers always are Cache-Control: no-store, no-cache, must-revalidate ), and cookies are encrypted.
Is there any way of enabling this type of cache correctly ?
I've also searched about varnish with no luck at all