Slowness on Siteground hosting reported to be caused by Vary User-Agent

Posted in: Newspaper
Post count: 9

Hello, we’ve been experiencing issues with our site hosted on Siteground and it started to be more sensitive after we installed Newspaper theme. We often receive “503” error messages, and Siteground answered that one of the problems is Vary User-Agent which caused the Siteground cache to be less effective. We’ve been suggested to use the following strings in wp-function. Would it be possible for you to support and suggest a proper configuration – what agents should we use?

function replace_wp_headers($headers) {
$headers[‘Vary’] = ‘Accept-Encoding’;
return $headers;
}

Post count: 22421

Hi,

Sorry but we cannot make any recommendation in this regard as the theme does not have any specific agent requirement. The only requirements are listed here: https://forum.tagdiv.com/requirements-for-newspaper/ We can only recommend wp super cache and these settings: https://forum.tagdiv.com/cache-plugin-install-and-configure/ Any hosting side cache will have to be removed and only wp super cache used for the proper functionality of the theme

Thank you!

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.