I stumbled across this tool whilst trying to help someone optimise their CSS code. It's an online tool (again... free) that can take the URL of a CSS file (or you can paste in CSS directly) and based on some simple checkbox options it will automagically optimise the CSS. Any opportunity to trim my page weight down is worth it... and the optimisations that this tool makes are non-destructive.
As a test I optimised the primary CSS file for TekTips and (with "Pretty printing" formatting turned off as recommended) I managed to get a 14% saving on the original file size!
There is a nice formatter (and code tidier) for HTML as well (great for tidying up legacy HTML code and at the very least formatting so it's readable):
So many cool tools to use! Hope you get some mileage from these.
Cheers,
Jeff
[tt]Jeff's Page [/tt][tt]@[/tt][tt] Code Couch
[/tt]
As a test I optimised the primary CSS file for TekTips and (with "Pretty printing" formatting turned off as recommended) I managed to get a 14% saving on the original file size!
There is a nice formatter (and code tidier) for HTML as well (great for tidying up legacy HTML code and at the very least formatting so it's readable):
So many cool tools to use! Hope you get some mileage from these.
Cheers,
Jeff
[tt]Jeff's Page [/tt][tt]@[/tt][tt] Code Couch
[/tt]