| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Cleaning Up Templates - Does it speed up? | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
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?
__________________
- - Versions: 4.1.10 and 4.3.0 (see post for which cart) "Until man duplicates a blade of grass, nature can laugh at his so-called scientific knowledge." - Thomas Edison "Never doubt that a small group of thoughtful, committed citizens can change the world; indeed, it is the only thing that ever has." - Margaret Mead (1901-197 quoted in John M. RIchardson, ed. Making it Happen, 1982 "Water is the best of all things." - Pindar (c. 522 BC - c. 438 BC), Olympian Odes |
|||||||
#2
|
|||||||
|
|||||||
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.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
#3
|
|||||||
|
|||||||
Re: Cleaning Up Templates - Does it speed up?
Thank you Padraic. Now for the endeavor.
__________________
- - Versions: 4.1.10 and 4.3.0 (see post for which cart) "Until man duplicates a blade of grass, nature can laugh at his so-called scientific knowledge." - Thomas Edison "Never doubt that a small group of thoughtful, committed citizens can change the world; indeed, it is the only thing that ever has." - Margaret Mead (1901-197 quoted in John M. RIchardson, ed. Making it Happen, 1982 "Water is the best of all things." - Pindar (c. 522 BC - c. 438 BC), Olympian Odes |
|||||||
|
|||
X-Cart forums © 2001-2020
|