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)
-   -   Removing unused CSS , is it complicated? (https://forum.x-cart.com/showthread.php?t=61616)

BBM_ 11-15-2011 01:52 AM

Removing unused CSS , is it complicated?
 
Hi All,

I'm chipping away at maximising the performance of a store and want to know how hard is it to remove any unused css?

Currently on the homepage I have approximately 50% which is unused (and this represents about 20% of the total size of the page)

Obviously some of it will be required for other pages but is there a tool or guide in relation to what can be removed, as opposed to simple (and timely) trial and error?

Thanks in advance.

rogue 11-15-2011 06:03 AM

Re: Removing unused CSS , is it complicated?
 
The CSS is cached by the user's browser. I would not modify it if I were you.

And yes, CSS is very error prone.


All times are GMT -8. The time now is 11:12 PM.

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