[RSS Feed/News] Guest page caching vs. Database replication

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
Is it true, that with a database replication (MySQL master/slave setup) guest page caching does not work? And if that's true, is that behavior desired?

Looking at the XF core code it seems that the config.php option $config['db']['adapterClass'] = 'XF\Db\Mysqli\ReplicationAdapter'; brings a cookie named dbWriteForced with it. And this cookie prevents pages from being cacheable (i.e. XF\PageCache::isResponseSaveable() returns false).

XF v2.2.11.
Read more about this Feed . . .
 
Status
Not open for further replies.
Back
Top Bottom