HTTP/2 Server Push

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Daryn
    Member
    • Nov 2008
    • 95
    • 3.7.x

    HTTP/2 Server Push

    Does vb5 allow for Server Push via http/2? Messing around right now with h2 and seeing a lot of mixed h2 and 1.1 requests. A little new to this protocol, so I'm wondering if I'm missing something.
  • Wayne Luke
    vBulletin Technical Support Lead
    • Aug 2000
    • 74123

    #2
    As I don't know what you're talking about, I would say that this is something controlled by the server. Not a web app like vBulletin. vBulletin doesn't really handle any protocols, the web server handles requests and forwards them to vBulletin.
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud demonstration site.
    vBulletin 5 API

    Comment

    • Wayne Luke
      vBulletin Technical Support Lead
      • Aug 2000
      • 74123

      #3
      Looked it up. We do not support this at this time.
      Translations provided by Google.

      Wayne Luke
      The Rabid Badger - a vBulletin Cloud demonstration site.
      vBulletin 5 API

      Comment

      • Daryn
        Member
        • Nov 2008
        • 95
        • 3.7.x

        #4
        Good to know. Looks to me like adding the rel=preload to links is a part of it. Perhaps something to look into for a future version.

        Thanks.

        Comment

        • Wayne Luke
          vBulletin Technical Support Lead
          • Aug 2000
          • 74123

          #5
          It would be tricky to add because it will cause issues for many customers and negate the performance benefits of caching resources on the client device.
          Translations provided by Google.

          Wayne Luke
          The Rabid Badger - a vBulletin Cloud demonstration site.
          vBulletin 5 API

          Comment

          • William Thomas Jr
            Senior Member
            • Nov 2014
            • 526
            • 5.1.x

            #6
            If I understand right there isn't anything needed on our end besides SSL?

            Here's an article by my host on the subject: https://www.siteground.com/blog/http2-supported/

            William

            Comment

            • Wayne Luke
              vBulletin Technical Support Lead
              • Aug 2000
              • 74123

              #7
              Currently, we rely on browser caching on the device... So you'll download the CSS, Javascript, and Images which will be cached. The next page loads will not request these from the server as you've already has them. This speeds things up for the end user and reduces the server requirements and saves bandwidth.

              What the original poster is asking for is that we can put the resources (CSS, Javascript, Images) in the request headers. So the browser automatically requests these resources before the page stops loading. Unfortunately, it doesn't take client-side caching into consideration. So there are more downloads per page. With vBulletin, we have a lot of CSS and Javascript involved. Since they will download every page load, it will slow down the rendering of the page on the client.

              However, individual site owners can use .htacess to handle this if allowed by the server. See: https://httpd.apache.org/docs/2.4/en...p2.html#h2push
              Last edited by Wayne Luke; Wed 15 Mar '17, 12:21pm.
              Translations provided by Google.

              Wayne Luke
              The Rabid Badger - a vBulletin Cloud demonstration site.
              vBulletin 5 API

              Comment

              Related Topics

              Collapse

              • hosler
                I want a faster forum
                by hosler
                I'm trying to trouble shoot some bottlenecks. I cannot tell if my server just isn't beefy enough or if VB5 is just naturally slow. At first I had apache+php+MySQL all running on one server. In an attempt...
                Thu 14 Jan '16, 1:34pm
              • CygnusFTK
                Soooooo Sloooooow!
                by CygnusFTK
                Why is vb5 so much slower than 4.2.1 or even the 3.x versions? I have some seriously disgruntled users and I don't know what to tell them. Even here... this site is considerably slower than it used to...
                Wed 21 Aug '13, 9:35am
              • toren
                Our forum is slow
                by toren
                Hi ,

                I installed forum (release 5.1.0) on AWS EC2 (m1.medium ) virtual server (
                3.75 GB RAM , 1 x vCPU , 2 x ECUs) , CPU utilization 6% in average , 30 % on peaks

                Forum...
                Tue 25 Mar '14, 2:21am
              Working...