Announcement

Collapse
No announcement yet.

Combine css files and Javascript files

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Combine css files and Javascript files

    Right now there are far too many CSS and JS files making page downloads slower. It is common practice today to minify files and condense them. No need to download 10, yes 10! CSS files. That's a lot of wasted requests to a server.

    <link rel="stylesheet" type="text/css" href="http://www.dev.502streetscene.net/forums/core/clientscript/vbulletin_css/style00000l/css_imgareaselect-animated.css" />
    <link rel="stylesheet" type="text/css" href="http://www.dev.502streetscene.net/forums/core/clientscript/vbulletin_css/style00000l/css_jquery_thumbnail-radio-checkbox.css" />
    <link rel="stylesheet" type="text/css" href="http://www.dev.502streetscene.net/forums/core/clientscript/vbulletin_css/style00000l/css_jquery-ui-1_8_14_custom.css" />
    <link rel="stylesheet" type="text/css" href="http://www.dev.502streetscene.net/forums/core/clientscript/vbulletin_css/style00000l/css_jquery_qtip_min.css" />
    <link rel="stylesheet" type="text/css" href="http://www.dev.502streetscene.net/forums/core/clientscript/vbulletin_css/style00000l/css_jquery_selectBox.css" />
    <link rel="stylesheet" type="text/css" href="http://www.dev.502streetscene.net/forums/core/clientscript/vbulletin_css/style00000l/css_jquery_fileupload-ui.css" />
    <link rel="stylesheet" type="text/css" href="http://www.dev.502streetscene.net/forums/core/clientscript/vbulletin_css/style00000l/css_global.css" />
    <link rel="stylesheet" type="text/css" href="http://www.dev.502streetscene.net/forums/core/clientscript/vbulletin_css/style00000l/css_bootstrap.css" />
    <link rel="stylesheet" type="text/css" href="http://www.dev.502streetscene.net/forums/core/clientscript/vbulletin_css/style00000l/css_responsive.css" />
    <link rel="stylesheet" type="text/css" href="http://www.dev.502streetscene.net/forums/core/clientscript/vbulletin_css/style00000l/css_additional.css" />

  • #2
    For future refrence: https://www.vbulletin.com/forum/show...g-a-Suggestion


    see: http://tracker.vbulletin.com/browse/VBV-3866
    Last edited by Zachery; Tue 22nd Jan '13, 10:52am.

    Comment


    • #3
      You're on the latest version? Bundling of these files is put into place where it is prudent.

      With the bundling in place, I see 6 javascript files and 1 CSS file coming from vBulletin itself. All of these were loaded from my browser cache not the server. There is some network latency doing that but it is less than loading the files each page load. Plus with concurrent server requests in most browsers it would only affect individuals with dial-up speed access to the internet. Which is a minority these days. Though latency might prove to be a problem with those users that have satellite based access.

      On the demo there are additional CSS and Javascript files that come from embedded content like Facebook Connect and the Youtube video on the front-end. Customers can choose to turn off Facebook and not embed video in Modules if they wish. Six javascript files may be excessive but I know further performance work is going on including minifying and caching these items better so they don't need to be downloaded as often.
      Last edited by Wayne Luke; Wed 23rd Jan '13, 1:34pm.
      Translations provided by Google.

      Wayne Luke
      The Rabid Badger - a vBulletin Cloud customization and demonstration site.
      vBulletin 5 Documentation - Updated every Friday. Report issues here.
      vBulletin 5 API - Full / Mobile
      I am not currently available for vB Messenger Chats.

      Comment


      • #4
        Thanks for the update, Wayne. It's been my experience that 99% of most vBulletin new features have been of no interest to me, but it sure seems like the tremendous benefit of a high speed forum would be of interest to everyone. If vB5 is FAST FAST FAST right out of the box (forumhome loading in < 2 seconds), I'd upgrade immediately.

        Brandon
        Payday Advance

        Comment


        • #5
          See this: http://gtmetrix.com/compare/48rIntKK/7znQTs55

          Still working on it.
          Translations provided by Google.

          Wayne Luke
          The Rabid Badger - a vBulletin Cloud customization and demonstration site.
          vBulletin 5 Documentation - Updated every Friday. Report issues here.
          vBulletin 5 API - Full / Mobile
          I am not currently available for vB Messenger Chats.

          Comment


          • #6
            Alright!!!! That's turbo mega awesome. Maybe six times turbo mega awesome. I'm in.

            Brandon
            Payday Advance

            Comment

            Related Topics

            Collapse

            Working...
            X