I have been able to build a fairly complex web app with the use of toolset. It is an excellent plugin, and has allowed me to build something I never could of without it.
With that said, I am nearing the point of opening my site to the public, and need to make sure it can run efficiently. I'm not sure if this question is better suited for a server forum, but I am asking here first since you are the experts with toolset. The site is a membership site, with hopes of having several hundred/thousand users at some point, with probably several thousand new posts a day.
I have read everything about optimizing WordPress for high volumes, and think I have done a decent job with that at the moment. I am going to be trying to optimize apache/mysql soon as well (if needed).
My site runs on Google compute engine (1cpu w/3.75gb memory), and I can scale up as needed. The homepage gets a 82/100 on Google page insights, and an 85 on pingdom test. I think those are decent scores.
I am using Query Monitor to test page speeds on the site, and here is where my questions begin.
My homepage is a simple page describing the service I've created. It uses some content templates to pull in different sections, and maybe a view or two. Its query stat is
.36s load, 18mb, .01s query, 53queries
This obviously loads very quick, and seems to be comparable to the big sites.
Once the user logs in, they have multiple pages (acting as archives) to look at their info, as well as a super dashboard I've created that shows highlights of everything.
The archives range from
.8s load, 25mb, .05s query, 36 queries... to 1.8s, 40mb, .11s, 242q's for the larger ones.
My dashboard however is bigger, and this is a key page, and is the one you see when logged in.
2.57s load, 48mb, .04-.1s query, 451queries.
This seems like a huge amount of queries, but that's because I'm pulling alot of content for this page.
My question is trying to understand how much the view shortcodes impact load time. Even though there are 451 queries, the query time is only 40-100 milliseconds, which seems like a pretty quick query. The problem is that the page speed is pushing 3 seconds. The page has less browser rendering elements than the homepage (which loads in .5sec), so that's not what's slowing it down.
#1 - So what am i missing about page load time?
#2 - Is there a way to optimize?
#3 - If I used ajax to load the contents on the dashboard would that help (and how)?
I know this was lengthy, but hoping you can give some insight!
Thanks