BodyJewels:
I would agree with you on principle, however it is only when you first hit the site. Every other subsequent request, parse times are .5 or so.You didn't mention that before.
BodyJewels:
A bogged down server would repeatedly have slow parse times.Generally speaking, yes.
BodyJewels:
Also DB Server is local(same machine). Slow server = slow DB query and parse.To some degree, yes, although sometimes the database can return data quickly even if the rest of the server's performance is poor.
BodyJewels:
As I think back to what we modified, I wonder if some of the custom code I had written for the home page might be causing it.That's usually a major contributing factor.> BodyJewels:
We modified the home page to show featured products, and to provide a drop down controller to select collections (manufacturers).If that pulldown is large, then yes the page draw time could be long ... for a couple reasons:
a) pulldown menus have to loop through a bunch of data to draw the HTML for each option
b) if the list is very long it increases the page "size" and all that content must download to the browser.
BodyJewels:
Although 50 queries is really low for a start page, what I would really like to know is if anyone else is seeing the same high parse times.I understand why you'd ask that question. But it's the wrong question. Whether others answer yes or no to that question, you still have the problem which is unique to your specific site, with your specific addons, and your specific customizations, and also your specific data (prods, manufacturers, categories, images, etc). Oh, and your host.
I would suggest temporarily removing the code that draws the pulldown you added, and see what effect that has on the page.
Additionally, you said the problem happens "when you first hit the site". But you didn't indicate whether it's specific to the Home Page, or just the first hit to the site (which also is generally the home page).
What if you go directly to a certain category by using that category's URL, instead of the home page, when "first hitting the site"? Does the same delay happen?
What happens if you navigate to some other pages on your site, and then come back to the home page? What then?
And, then try navigating to some other pages, and clear your browser's cache before navigating back to the home page again.
And, if you use the websiteoptimizer website, what does their tool tell you about the size of your home page vs other pages?
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.