The server response time does seem long. Adding in CF complicates things and makes it harder to tell if the problem is on CF’s side or Ghost’s.
With that in mind, have you tried totally disabling CF services and seeing what the server response time is? That would at least help hone in on the issue.
The biggest issue I see is that it’s taking the server longer than usual to respond (around 3s for the DataScientist homepage). For comparison, I have a site on DO (lowest tier, but no CF) that has a response time of 200ms. Are you running multiple sites from your single server? How are you building your homepage? If you’re using a lot of get helpers that could impact performance.
Are you running multiple sites from your single server?
Yeah. 2 servers with 3 ghost instances.
Similar setup, ghost versions, CF usage.
The only one with performance issue at the moment is the commented site.
Several weeks ago - the problematic site was better.
Some of the other sites have 3 times more articles, same theme and score is > 95
How are you building your homepage? If you’re using a lot of get helpers that could impact performance.
Yeah. There are multiple gets in order to build the hierarchy and also the left side navigation.
Plus search on the featured posts in order to simulated drop down menu.
The same apply for the home page + additional searches.
// Cookie prefixes that cause a request to bypass the cache when present.
const BYPASS_COOKIE_PREFIXES = [
"ghost-members-ssr",
"admin-api-session"
];
// URL paths to bypass the cache (each pattern is a regex)
const BYPASS_URL_PATTERNS = [
".*/members/api/member/"
];
This is not enough to fully work members, sign in and /ghost/
So at the end I think that problem is related to the VPS.
Tested higher VPS size didn’t change the performance.
Testing new VPS providers shows promising.
P.S. Few other optimization were done as well:
CF cache everything
Ghost caching
reduce 3rd party JS
So Ghost is really fast and works well.
For medium and high volume sites - I believe that VPS and CDN are important.
They need to be tested and monitored.