So we have an Ajax mini basket that keeps you on the product page when you add a product.
On our live site, it takes about 8 seconds to add to cart. On our dev site, it takes about 4 seconds to add to cart.
Also, the 'Update Quantity' function in the basket page is also faster on the dev site versus the live site.
I've been running a number of tests, like disabling any 3rd party items, making sure the dev site head tag, global h/f, javascript files, php files, page template etc. all match the live site.
The dev site is still faster after all of these tests.
One real difference that I can't seem to locate the origin of is that the live site basket page has about 200 lines of blank space before the <doctype> declaration when I view source.
In speed tests, the main time hog is in the 'connection' stage without any other more specific detail. Everything else loads similarly.
Has anyone had this particular problem before, or can anyone help me narrow down the possibilities? Could it be host related (even though both sites are on the same server)?
TIA
On our live site, it takes about 8 seconds to add to cart. On our dev site, it takes about 4 seconds to add to cart.
Also, the 'Update Quantity' function in the basket page is also faster on the dev site versus the live site.
I've been running a number of tests, like disabling any 3rd party items, making sure the dev site head tag, global h/f, javascript files, php files, page template etc. all match the live site.
The dev site is still faster after all of these tests.
One real difference that I can't seem to locate the origin of is that the live site basket page has about 200 lines of blank space before the <doctype> declaration when I view source.
In speed tests, the main time hog is in the 'connection' stage without any other more specific detail. Everything else loads similarly.
Has anyone had this particular problem before, or can anyone help me narrow down the possibilities? Could it be host related (even though both sites are on the same server)?
TIA
Comment