cancel
Showing results for 
Search instead for 
Did you mean: 

How to reduce the checkout page loadtime?

How to reduce the checkout page loadtime?

Many clients want to put tracking scripts to their checkout page, which initially increasing page loadtime.

 

Can somebody please help me to reduce the page loadtime with having external tracking scripts on page?

 

Thanks in advance for all suggestions.

10 REPLIES

Re: How to reduce the checkout page loadtime?

Vast majority of those tracking scripts are already speed optimised. Basically there are two thing you can do -- a) skip trackers you don't need b) instead of loading tracker in header put tracker loading script right before </body> (body element end tag). This makes browser to load trackers after everything else is rendered. Technically it doesn't reduce page loading time, but from user experience perspective there's (sometimes noticeable) speed difference.

Tanel Raja

Re: How to reduce the checkout page loadtime?

You can also see if the tracker will let you download and self-host the javascript they use. This will save time and reliance on getting it from their slow website.

You will however have to keep downloading new ones as they update it so the trade off might not be worth it...

Re: How to reduce the checkout page loadtime?

Thank you so much for your inputs.

Re: How to reduce the checkout page loadtime?

Hi,

 

you can try deferring loading of javascript. simple thing to do is to add async attribute to script tag:

 

<script type="text/javascript" src="..." async></script>

 

 

Re: How to reduce the checkout page loadtime?

async javascript to speedup magento is the least that I thought to do.

 

as always to speedup checkout you need to check all plugins connected to checkout process,

like promotions and coupons, etc

 

------------
MagenX - Magento and Server optimization

Re: How to reduce the checkout page loadtime?

Yes, I agree with you.

 

Is there any thing that we can do on backend to boost the site speed?

Re: How to reduce the checkout page loadtime?

Every journey starts with first step and this one requires first to identify bottlenecks. Is the page too big? Is the page generated too slowly? Too many elements? JS too slow? There're TONS of problems and tons of things that can be done, but first you must determine what's broken.

It also means that there's no point worrying about losing script load times that usually take fraction of second when page takes 10 seconds to generate.

Tanel Raja

Re: How to reduce the checkout page loadtime?

You can check and test:

- Optimize caches

- Trim down javascript parsing

- Do away with redirects

- Apply CSS3 & HTML5

- Minify javascript and styple sheet

- Minimize image size

Re: How to reduce the checkout page loadtime?

Can you tell us what checkout extension was installed on your client's website? The slow load speed may be due to extension conflict.

 

Also, you can take a look at your Magento site's .htaccess file, you can do some tweaks for better website performance.

Tthis guide that may be useful with your situation: http://magentoexplorer.com/how-to-speed-up-your-site-with-magento-htaccess-file


Regards,