Open svyatoslavkhz opened 5 years ago
Add
$logged = false; foreach ($svar as $sval) { if (!empty($sval['customer_id']) || !empty($sval['affiliate_id'])) { $logged = true; } }
in system/library/v2pagecache.php:248
and if( !empty($svar['customer_id']) || !empty($svar['affiliate_id']) || $logged) { $this->cacheable=false; return $this->cacheable; }
If the visitor is logged in, caching continues to work. opencart 2.3.0.2 v2pagecache 1.4 php 7.0 https://goodbooks.com.ua