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

[Solved] Why does MVC get minified CDN files but we dont?

3 Answers 107 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
sitefinitysteve
Top achievements
Rank 2
Iron
Iron
Veteran
sitefinitysteve asked on 29 Jan 2010, 03:24 AM
The MVC demos page has all these control .css files coming down as .min versions, but our CDN has the full bloaty ones...why is that?

3 Answers, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 29 Jan 2010, 10:04 AM
Hello Steve,

Could you please clarify what files you mean (the fully bloaty ones)? Which product are you referring to?

All the best,
Albert,
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
sitefinitysteve
Top achievements
Rank 2
Iron
Iron
Veteran
answered on 29 Jan 2010, 12:57 PM
Rad for ASP.net ajax vs MVC

Ok if you look here
http://demos.telerik.com/aspnet-mvc/grid
The .css and .js are all minified and quite small in file size

While a normal Radgrid using the CDN with asp.net ajax comes in with no minified files

so This
.t-widget{border-color:#a7bac5;background-color:#fff;}.t-widget,.t-widget button,.t-widget input,.t-widget select{font-family:"Segoe UI",Arial,sans-serif;}.t-header,.t-grid-header{border-color:#a7bac5;background:#a6d9f4 url('Vista/sprite.png'repeat-x 0 -272px;}.t-icon{background:transparent url('Vista/sprite.png'no-repeat;}.t-expand{background-position:0 -160px;}.t-collapse{background-position:0 -176px;}.t-arrow-up{background-position:-16px -160px;}.t-arrow-down{background-position:-16px -176px;}.t-state-disabled .t-arrow-up{background-position:-32px -160px;}.t-state-disabled .t-arrow-down{background-position:-32px -176px;}.t-state-hover .t-arrow-up{background-position:-48px -160px;}.t-state-hover .t-arrow-down{background-position:-48px -176px;}.t-arrow-first{background-position:0 -192px;}.t-arrow-prev{background-position:-16px -192px;}.t-arrow-next{background-position:-32px -192px;}.t-arrow-last{background-position:-48px -192px;}.t-state-disabled .t-arrow-first{background-position:0 -208px;}.t-state-disabled .t-arrow-prev{background-position:-16px -208px;}.t-state-disabled .t-arrow-next{background-position:-32px -208px;}.t-state-disabled .t-arrow-last 


vs this
/*Telerik RadGrid Vista Skin*/ 
 
/*global*/ 
 
.RadGrid_Vista 
    border:1px solid #9cb6c5
    background:#fff
    color:#333
 
.RadGrid_Vista, 
.RadGrid_Vista .rgMasterTable, 
.RadGrid_Vista .rgDetailTable, 
.RadGrid_Vista .rgGroupPanel table, 
.RadGrid_Vista .rgCommandRow table, 
.RadGrid_Vista .rgEditForm table, 
.RadGrid_Vista .rgPager table, 
.GridToolTip_Vista 
    font:12px/16px "segoe ui",arial,sans-serif
 
.RadGrid_Vista .rgMasterTable, 
.RadGrid_Vista .rgDetailTable 
    border-collapse:separate
 
.RadGrid_Vista .rgRow, 
.RadGrid_Vista .rgAltRow, 
.RadGrid_Vista .rgHeader, 
.RadGrid_Vista .rgResizeCol, 
.RadGrid_Vista .rgPager, 
.RadGrid_Vista .rgGroupPanel, 
.RadGrid_Vista .rgGroupHeader 
    cursor:default
 

0
Rosen
Telerik team
answered on 04 Feb 2010, 07:34 AM
Hi Steve,

Actually only the css files are not minified as they contain few browser hacks which are dependent on the count of whitespaces. However we are currently considering and researching for the best way how to optimize them in size without loosing existing functionality.

Sincerely yours,
Rosen
the Telerik team

Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Follow the status of features or bugs in PITS and vote for them to affect their priority.
Tags
General Discussions
Asked by
sitefinitysteve
Top achievements
Rank 2
Iron
Iron
Veteran
Answers by
Atanas Korchev
Telerik team
sitefinitysteve
Top achievements
Rank 2
Iron
Iron
Veteran
Rosen
Telerik team
Share this question
or