I've been getting very poor performance from my pages so I'm trying to figure out where the bottlenecks are. My goal is to understand better what it takes to improve performance and then balance that with the need for dynamic data.
I've set values for all system settings for cache. Cache is on with a 30 second refresh just so I can test quickly.
I've used the CacheClear snippet, hitting it a couple times to remove existing cache.
My pages initially load in about 18 seconds.
Given the modest nature of these pages, that's awful. On refresh I get 3.5-5 second turn around of the base page. With anywhere from 5-20 images, each loading in 100-300ms, that's adding a few seconds on top of that. I'll do what I can to optimize the images.
But the pages still seem to be cached on the server. In the return headers I get:
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
I did a search for "[[!", and then went around to edit out the exclamation marks.
I don't expect too much delay from my hosted server. The rest of the internet is quite zippy, but my ModX site is not, and my Manager is a real slug.
I'm already being selective about the scripts I'm loading. At some point soon I'll look at MinifyX too. Scripts/CSS don't seem to be hurting the page much.
What else should I be looking at on the MODx side?
Thanks!