Click
  1. Click
  2. CLK-363

Allow Page htmlImports to override Control imports

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.5 M2
    • Fix Version/s: 1.5 M3
    • Component/s: None
    • Labels:
      None

      Description

      Starting with 1.5-M1, Page allows us to import JS and CSS.

      It would be nice if Page could also expose a boolean property to inform PageImports not to include the Controls JS and CSS.

      Reason: Rule #1 of Yahoo Performance Rules states that the making connections to the server is expensive. If a Page imports 10 CSS and 10 JS, the browser has to make 20 connections to the server. For a sites HomePage it would be great to optimize this to only 1 CSS and 1 JS. Libraries such as YUICompressor allows one to merge and compress all the JS and CSS into a single file that can be served from the Page. By allowing the Page to override the Control imports, one could have the Page import the single monolithic CSS and JS file, and skip the Control imports. Thus making for a much faster Page experience.

        Activity

        Bob Schellink created issue -
        Bob Schellink made changes -
        Field Original Value New Value
        Fix Version/s 1.5 M3 [ 10030 ]
        Fix Version/s 1.5 M2 [ 10022 ]
        Malcolm Edgar made changes -
        Assignee Bob Schellink [ sabob ] Malcolm Edgar [ medgar ]
        Bob Schellink made changes -
        Affects Version/s 1.5 M2 [ 10022 ]
        Fix Version/s 1.5 M3 [ 10030 ]
        Fix Version/s 1.6 M1 [ 10040 ]
        Malcolm Edgar made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Malcolm Edgar made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Fix Version/s 1.5 M3 [ 10030 ]
        Resolution Fixed [ 1 ]
        Fix Version/s 1.6 M1 [ 10040 ]
        Bob Schellink made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Henri Yandell made changes -
        Project Import Fri Mar 20 14:11:32 PDT 2009 [ 1237583492744 ]

          People

          • Assignee:
            Malcolm Edgar
            Reporter:
            Bob Schellink
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development