Skip to content

Commit

Permalink
Ticket #4409 - Timeline: item cache must use bx_site_hash in actual k…
Browse files Browse the repository at this point in the history
…ey (file) name.
  • Loading branch information
AntonLV committed Jul 25, 2023
1 parent 8cb5fb1 commit 796594e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/boonex/timeline/classes/BxTimelineConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,7 @@ public function getCacheItemLifetime()

public function getCacheItemKey($iId, $sPostfix = '')
{
return $this->getPrefix('cache_item') . $iId . (bx_is_mobile() ? '_m' : '') . '_r' . bx_get_device_pixel_ratio() . '_' . (!empty($sPostfix) ? '_' . $sPostfix : '') . '.php';
return $this->getPrefix('cache_item') . $iId . (bx_is_mobile() ? '_m' : '') . '_r' . bx_get_device_pixel_ratio() . (!empty($sPostfix) ? '_' . $sPostfix : '') . '_' . bx_site_hash() . '.php';
}

public function getCacheHotKey()
Expand Down

0 comments on commit 796594e

Please sign in to comment.