Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-7097

Minification of CSS even if they are not organized by media type

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Major Major
    • 4.2.0
    • 4.0.0
    • Démo
    • None

      In order to optimize minimization and loading of all css of a project, the css style sheets should be reorganized by type of media whereas that has not be made like this in the skin. The kernel must be able to optimize calls CSS even if the integrator has not sorted by media type.

          [CMS-7097] Minification of CSS even if they are not organized by media type

          I do not agree : order matters.

          the only case we can optimize is :

          • screen
          • print
          • screen
          • print

          but most of the time you will have stuff like

          • (nothing = all)
          • print
          • (nothing = all)
          • print
            In this case, the third css will have rules with more power than the second one... and this will change if we reorder

          Raphaël Franchet added a comment - I do not agree : order matters. the only case we can optimize is : screen print screen print but most of the time you will have stuff like (nothing = all) print (nothing = all) print In this case, the third css will have rules with more power than the second one... and this will change if we reorder

            Unassigned Unassigned
            llopez Laure Lopez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: