Nextcloud version (eg, 10.0.2): 12.0.3 (Problem exists since 12.0 alpha)
Operating system and version (eg, Ubuntu 16.04): CentOS 6
Apache or nginx version (eg, Apache 2.4.25): 2.2.15
PHP version (eg, 5.6): 7.1.7
Is this the first time you’ve seen this error?:
Problem exists since commit
Can you reliably replicate it? (If so, please outline steps):
nextcloud with multiple trusted domains
slow, when multiple domains are used
on test system, multipe times load url from domain A is fast, multiple times from domain B is fast, but every change between domains is slow, multiple seconds to wait
The issue you are facing:
Slow, when multiple domains are used
On test system I switched between this commit and commit before. commit before the duration of page load is constant, whatever hostname is used. after this commit every first page load from domain is slow (6-8 seconds), repeated page loads from this domain are constant (400 ms).
(page loads measured with curl in bash-script)
my production system is not at uberspace.de, but behavior is the same.
Problem disappears, if I send the same fake-host-header to php-instance (but have other problems then).