Ques/Help Guest page caching vs. Database replication

N

nocte

Guest
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.

Continue reading...