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.
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.
Thank you so much for your inputs.
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>
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
Yes, I agree with you.
Is there any thing that we can do on backend to boost the site speed?
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.
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
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.
<< Snipped >>
Regards,