X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Cleaning Up Templates - Does it speed up? (https://forum.x-cart.com/showthread.php?t=58228)

hhiker 02-27-2011 06:49 AM

Cleaning Up Templates - Does it speed up?
 
First, I know that the HTML of the templates is IMO a bit much. There are more nested divides than really necessary to accomplish the same layout.

Will cleaning that up help improve site load time?

Also, will it help speed up the customer side to remove unwanted if statements on modules? Or would I also need to remove the modules from the php?

I do know the CSS needs cleaned up as well. That should help speed things up, right?

What else can I do with the template & php code to speed up a site that is growing bigger & bigger?

balinor 02-27-2011 12:26 PM

Re: Cleaning Up Templates - Does it speed up?
 
Yes, clean html and a much smaller css file will indeed reduce load time. I haven't seen significant improvement from removing if statements, but turning off advanced statistics and any unused modules will definitely help.

hhiker 03-04-2011 10:10 PM

Re: Cleaning Up Templates - Does it speed up?
 
Thank you Padraic. Now for the endeavor.


All times are GMT -8. The time now is 12:36 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.