This is a migrated thread and some comments may be shown as answers.

Minified Size could be lower !

2 Answers 66 Views
Telerik Minifier
This is a migrated thread and some comments may be shown as answers.
Lars Johansen
Top achievements
Rank 1
Lars Johansen asked on 30 Jun 2010, 03:42 PM
Hi,

In a project I am only using a RadButton with a Vista Theme.

The Telerik.Windows.Controls.dll went from 1030KB to 256KB
And the Theme went from 2606KB to 216KB

This is great - but it could be better.

Net.Reflector shows alot of reference to controls not selected in the first place.

The resource for themes/vista/book.xaml went from 6441bytes to 1644bytes
The resource for themes/vista/tabcontrol.xaml went from 40095 bytes to 1939 bytes
ect...
But do we really need it. (Atleast remove comments in code...)

For the RadButton inside Telerik.Windows.Controls.dll we also have alot of resource elements not needed for the selected control.
(The original theme/office/black)
 
Yes I known it is beta - and there is room for optimization - but I think this is an excellent step in the right direction.

Keep up the good work
/Lars


2 Answers, 1 is accepted

Sort by
0
Ben Hayat
Top achievements
Rank 2
answered on 30 Jun 2010, 03:49 PM
For the RadButton inside Telerik.Windows.Controls.dll we also have alot of resource elements not needed for the selected control.
(The original theme/office/black)

Lars, I *Think* some these needs to be there for default during design time for Blend. I might be wrong, but that's what I suspect!
..Ben
0
Miro Miroslavov
Telerik team
answered on 30 Jun 2010, 04:07 PM
Hello ..Ben and Lars,


Net.Reflector shows alot of reference to controls not selected in the first place.
You are right, but some controls are not perfectly decoupled one from another. The good thing is that having the Minifier on the stage, we will have to write/decouple our controls even more and the suite will become better after all.

But do we really need it. (Atleast remove comments in code...)
I've created work item for removing the comments as well. We've also noticed that and will fix it.

For the RadButton inside Telerik.Windows.Controls.dll we also have alot of resource elements not needed for the selected control.
(The original theme/office/black)

You are right, it will be better if we remove the entire ResourceDictionaries, but for now leaving them empty is a bit easier.

Thank you for your feedback! We appreciate that.

Kind regards,
Miro Miroslavov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Telerik Minifier
Asked by
Lars Johansen
Top achievements
Rank 1
Answers by
Ben Hayat
Top achievements
Rank 2
Miro Miroslavov
Telerik team
Share this question
or