Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDevelopment and...Development and...Open Core Testi...Open Core Testi...Default.css is growingDefault.css is growing
Previous
 
Next
New Post
6/3/2011 11:18 AM
 
Not sure if this has been discussed, but I noticed default.css grew from 15 to 27k between 5.6.2 & DNN 6.
That's almost double the size... Could a part of the CSS be moved to separate dynamically loaded style-sheets?
 
New Post
6/3/2011 2:59 PM
 

This is a tough one for me.  While I want to fight for every byte I can, I understand the design goals around making the UX more consistent and more usable.  

By striping the legacy and other redundant/useless code, I was able to get the file to 20k.  This is fairly small on the grand scheme of things especially if compressed.  It would take a couple releases to get to this size according to policy.  This could be a bit easier to accept if one designs to reuse the styles as well.

The bulk would felt be even less if DNN Corp brokered a relationship with a CDN to host the common assets like this

For the most part, the big additions are for core items like the new pop up boxes and admin tabs that will be viewed by anonymous visitors.  If developers grab on to the UI elements then many modules would look a ton better.

I can say I’m happy to not the full breadth and width of jQuery UI being used (IE the miles of icon definitions and theme bloat).

To get any better and still have a solid UX design, DNN would need some type of smart CSS content handler...

(Sorry about the cheekiness)

 
New Post
6/4/2011 10:02 AM
 
A cdn is not always a solution. Because there are situations where there is no internet access to the cdn (intranet usage), and there are situations where hosting everything ourself is cheaper than a paid cdn.
 
New Post
6/4/2011 11:19 AM
 
Martijn van Laar wrote:
Because there are situations where there is no internet access to the cdn (intranet usage)

Agreed which is why it is wise to employ a fall back method such as the one I suggested here

Martijn van Laar wrote:
and there are situations where hosting everything ourself is cheaper than a paid cdn.

Free is a good price

Background: separately, I have suggested it would be fantastic if Corp were to broker a relationship with a CDN whereby core files could be offloaded in exchange for advertising. I first saw this with jQuery Tools not to speak of Google and Microsoft helping out big libraries like jQuery and Mootools.

 
Previous
 
Next
HomeHomeDevelopment and...Development and...Open Core Testi...Open Core Testi...Default.css is growingDefault.css is growing


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out