This site ran quite fast on the old server which was running incredibly old php, etc. I've checked and rechecked everything. I converted the database to utf8. I optimized the database. I was about to totally despair (and started writing this post) when I suddenly figured out something crucial.
For some reason the page was loading multiple copies of the page. I remembered that initially I got an ajax error so I disabled all the ajax - by renaming the jscript/jscript_framework.php - effectively removing it from the installation. Problem immediately solved.
Customers need approval to view store - with pending authorization status so the default page is the login page.
So I don't know why this happened. The store has almost no mods. The template is not the issue - I turned off the custom template.
I would like to figure out what was going on and be able to enlighten anyone else who runs into this problem.
Bookmarks