Together with him we found a huge bug in Journal 3 that causes uncontrolled purge of the entire cache before TTL has expired. I can reproduce this issue also in your shop.
what steps to reproduce?
_lscache_vary: browser%3Asafari%2Cdevice%3Atablet
protected function checkBrowser() {
if ( isset($_SERVER['HTTP_USER_AGENT']) ) {
if ( (stripos($_SERVER['HTTP_USER_AGENT'], 'OPR') !== FALSE) || (stripos($_SERVER['HTTP_USER_AGENT'], 'OPT') !== FALSE) || (stripos($_SERVER['HTTP_USER_AGENT'], 'Opera') !== FALSE) ) {
//return 'opera';
return 'chrome';
}
if ( (stripos($_SERVER['HTTP_USER_AGENT'], 'FxiOS') !== FALSE) || (stripos($_SERVER['HTTP_USER_AGENT'], 'Firefox') !== FALSE) ) {
//return 'firefox';
return 'chrome';
}
if ( (stripos($_SERVER['HTTP_USER_AGENT'], 'Edg') !== FALSE) ) {
//return 'edge';
return 'chrome';
}
if ( (stripos($_SERVER['HTTP_USER_AGENT'], 'YaBrowser') !== FALSE) ) {
//return 'yandex';
return 'chrome';
}
//if ( (stripos($_SERVER['HTTP_USER_AGENT'], 'Lighthouse') !== FALSE) || (stripos($_SERVER['HTTP_USER_AGENT'], 'Headless') !== FALSE) ) {
//if ( (stripos($_SERVER['HTTP_USER_AGENT'], 'Lighthouse') !== FALSE) ) {
// return 'lighthouse';
//}
if ( (stripos($_SERVER['HTTP_USER_AGENT'], 'CriOS') !== FALSE) || (stripos($_SERVER['HTTP_USER_AGENT'], 'Chrome') !== FALSE) ) {
return 'chrome';
}
if ( (stripos($_SERVER['HTTP_USER_AGENT'], 'Safari') !== FALSE) ) {
return 'safari';
}
if ( (stripos($_SERVER['HTTP_USER_AGENT'], 'Instagram') !== FALSE) ) {
//return 'instagram';
return 'safari';
}
return 'unknown';
}
return FALSE;
}
protected function checkApple() {
if ( isset($_SERVER['HTTP_USER_AGENT']) ) {
if (stripos($_SERVER['HTTP_USER_AGENT'], 'Macintosh') !== FALSE) {
return 'macintosh';
}
if (stripos($_SERVER['HTTP_USER_AGENT'], 'iPhone') !== FALSE) {
return 'iphone';
}
if (stripos($_SERVER['HTTP_USER_AGENT'], 'iPad') !== FALSE) {
return 'ipad';
}
}
return FALSE;
}
protected function checkOS() {
if ( isset($_SERVER['HTTP_USER_AGENT']) ) {
if (stripos($_SERVER['HTTP_USER_AGENT'], 'Windows') !== FALSE) {
return 'windows';
}
if (stripos($_SERVER['HTTP_USER_AGENT'], 'Linux') !== FALSE) {
return 'linux';
}
}
return FALSE;
}
_lscache_vary: browser%3Asafari%2Cdevice%3Atablet
protected function checkVary()
_lscache_vary: apple%3Aipad%2Cbrowser%3Asafari%2Cdevice%3Atablet
2022-09-16 7:03:19 - PHP Warning: mysqli::query(): MySQL server has gone away in /home/priazhas/priazha-shop.com/www/system/library/db/mysqli_memcached.php on line 123
2022-09-16 7:03:19 - PHP Warning: mysqli::query(): Error reading result set's header in /home/priazhas/priazha-shop.com/www/system/library/db/mysqli_memcached.php on line 123
2022-09-16 10:55:09 - PHP Warning: mysqli::query(): MySQL server has gone away in /home/priazhas/priazha-shop.com/www/system/library/db/mysqli_memcached.php on line 123
2022-09-16 10:55:09 - PHP Warning: mysqli::query(): Error reading result set's header in /home/priazhas/priazha-shop.com/www/system/library/db/mysqli_memcached.php on line 123
2022-09-16 16:05:24 - PHP Warning: mysqli::query(): MySQL server has gone away in /home/priazhas/priazha-shop.com/www/system/library/db/mysqli_memcached.php on line 123
2022-09-16 16:05:24 - PHP Warning: mysqli::query(): Error reading result set's header in /home/priazhas/priazha-shop.com/www/system/library/db/mysqli_memcached.php on line 123